Tuesday, May 5, 2015

PHP 2.2.3

Conclusion
1.       What are the advantages of adhering to the first two of the normal forms?

It makes Everything more organized and removed redundancy.



2.      Describe a way that a school might use a relational database.


 A school could use one to find all the students with a certain first name, or with a certaingrade in a class. This is becuase relational databases take advantages of repeated feilds.



3.      What additional functionality do you achieve by airing up PHP with MySQL as opposed to using MySQL from the command line?

PHP allows the relational database to be utilized and allows other types of databases to be presented.

PHP 2.2.2

Conclusion Questions:

 1.       In Activity 2.2.1 you used a version of this site that was constructed entirely from HTML, JavaScript, and CSS. What do you think are the most important improvements made by using PHP and MySQL?

PHP is an easier language to learn. Help and documentation is easy to find becuase it is so widely used. Any text editor can be used to write PHP and it is not OS specific. PHP powers about 30% 0f the web and there is no cost associated with it. PHP is fast and is object oriented with the ability to call objects from Java and Windows COM.


 2.      What language would you use if you wanted to access information on a server?

PHP

 3.      What language would you use to create a zoom feature for images on your website without putting any additional strain on the server?

Javascript


4.      What language would you use to put a pretty frame around a table on your website?

Cascading Syle Sheets, or CSS

5.      What purpose did the comments in 222indexB.php serve for you as you worked through this activity?

It made it easier to know where things go and what parts of code served certain purposes.