Question

In: Computer Science

.So I have a project, I just want a general answer on how would you start...

.So I have a project, I just want a general answer on how would you start it. I have to make the Backend read/write from the database. What does that mean and how you u do that general example, please. in php please

EX - would i just make a script that just connects to the database , or is it more to it

Solutions

Expert Solution

The important thing you should always keep in mind while writing the back end scripts is the security, As a back end developer all your constumers trust you on their privacy.

So, always validate each and every request before taking action such as read and write to databases.

  • You should avoid sql injections,
  • Try to avoid using default user names and passwords instead have a strong password that is dificult to crack.
  • Never let the database connection open after you done working with it,
  • you should always backup logs so that way it it easy for you to detect the root cause for crash and can recover easily.
  • You should build outlier detector if you are dealing with the sensitive data.
  • Always strore the user sensitive data such as passwords,credit card number bank details in encrypted form.
  • For better performance cache the most requested data from the database that is less dynamic for speed response.

Finally read implies taking data from the database using queries and transmitting to user using back end script, in similar manner write implies taking data from user and pushing it into database.


Related Solutions

I JUST WANT AN EXAMPLE ANSWER SO I CAN MAKE MY OWN. THANK YOU!! Conduct research...
I JUST WANT AN EXAMPLE ANSWER SO I CAN MAKE MY OWN. THANK YOU!! Conduct research on New York City's large soda ban. Pretend you work at the Paradise City attorney's office. Draft a law that restricts the sale of large sugary drinks in Paradise City. Make sure to define the types of drinks and types of sellers restricted by the law. Example Statute: Title XXXIV (Links to an external site.)Links to an external site. ALCOHOLIC BEVERAGES AND TOBACCO Chapter...
In the following problems answer is given in bracket, I just want the steps how to...
In the following problems answer is given in bracket, I just want the steps how to get them: (a). Calculate the % of each DRY product when coal is burned stoichiometrically in air. The mass analysis of the coal is: 80% C; 10% H2; 5% S; and 5% ash.(76.7%N, 22.5%CO2; 0.8% SO2) (b). Find the air fuel ratio for stoichiometric combustion of Butane by volume. Calculate the percentage of carbon dioxide present in the DRY flue gas if 30% excess...
So I have written a code for it but i just have a problem with the...
So I have written a code for it but i just have a problem with the output. For the month with the highest temperature and lowest temperature, my code starts at 0 instead of 1. For example if I input that month 1 had a high of 20 and low of -10, and every other month had much warmer weather than that, it should say "The month with the lowest temperature is 1" but instead it says "The month with...
I don't want explanation , I just want a correct answer, Very quickly. 12- If the...
I don't want explanation , I just want a correct answer, Very quickly. 12- If the slope of the consumption function is equal to one, then Select one: a. The multiplier is undefined b. The multiplier is smaller than one c. The multiplier is just one d. The multiplier is larger than one e. None of the above 11- If the nominal interest rate 8% and expected inflation 5%, the expected real interest rate in year t is approximately Select...
i want good answer with example plz i have a project useing java language but theacher...
i want good answer with example plz i have a project useing java language but theacher tell us u must use (java.util.Date) only to get the current year and month how can i do that plz jst using that class no celender or somthing else i need current year and current month to calculate the gurantee year and the guranttee month thax☺️
I want good answer because that for project. thank you (: - The condition is Diabetes...
I want good answer because that for project. thank you (: - The condition is Diabetes Q1:Discussion of the health condition; information about the disorder/condition Q2:Epidemiology of  Diabetes Q3: Evidence based nursing management of  Diabetes Nursing assessment of  Diabetes Nursing diagnosis of  Diabetes Nursing interventions of  Diabetes
I want to start a company that produces documentary films. I have $10,000.00 that I can...
I want to start a company that produces documentary films. I have $10,000.00 that I can use to start the business, i don't own a home and I have no other significant assets. I have a friend who wants to be my partner. She has no money, but she's a creative genius.   I live in NYC and she lives in Casey Illinois. The way this industry works is pretty much like this: free-lance producers like us come up with an...
QUESTION I Project Background You have just completed a postgraduate diploma in project management and are...
QUESTION I Project Background You have just completed a postgraduate diploma in project management and are currently registered for a master’s degree where you have to carry out a mini research on customer care in your organization. Develop a project proposal on the planning, execution, analysis and reporting of the research. All processes planned for should be finalized within 6 months from the 4th august 2018. GENERAL PROJECT TASK The following needs to be done: You know:  How to...
You just turned 26. Now that you’re old, you want to be responsible and start a...
You just turned 26. Now that you’re old, you want to be responsible and start a retirement fund. You plan to invest $445 every month for the next 39 years. You expect to earn a 7.9% annual return until you retire. Once you retire, you will shift your savings into safer investments that you expect will earn 4.8% per year. You plan to make monthly withdrawals for 21 years of retirement (and don't want to have any money left at...
I marked the correct answers to these questions, but I just want to know how to...
I marked the correct answers to these questions, but I just want to know how to solve them. 1) In a cross of AaBbCcDdEeFf X AaBbccDdEeFf, what proportion will have the ABCDeF phenotype? A. 27/64 B. 27/128 C. 27/512 D. 81/512 E. 81/2048 #### 2.) In a cross of two flies +/vg Cy/+ +/se +/ab X +/vg +/+ se/se ab/ab what proportion of the offspring will be mutant in phenotype for all four markers? A. 0 B. 3/64 C. 1/16...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT