The PHP function's library
Posted: Sat Feb 15, 2003 11:00 pm
Ok, this is a 2 part question. First some background. I'm a CS student at the University of Texas at Austin. UT has an excellent CS program, so sorry if my questions might seem absurd. But, I've learned a lot of Java up till now, and I'm very used to using the methods / classes provided in the JSL.
However, I'm now doing a PHP Internship / Contract work. So, I'm trying to figure out the complications of searching through a SQL database.
So, questions:
1) I'm going to be dealing with many user defined classes, as I want to use OOP for the experience of it. Therefore, I plan to have all my data stored within some type of storage class (maybe a double ended queue). Would it be quicker / better to use the mySQL database for searching data types within the mySQL DB, or would it be faster to store the storage objects (PHP object types) in the database for access later? I'm pretty confused over this, but I want to implement the best / fasted solution even if that means going to a lower level of abstraction. I have no fear. ;)
This leads me to question 2.
2) Java has a Java Standard Library. Does PHP have a similar library and a documented class library? (Or something similar to that effect).
Thanks!
However, I'm now doing a PHP Internship / Contract work. So, I'm trying to figure out the complications of searching through a SQL database.
So, questions:
1) I'm going to be dealing with many user defined classes, as I want to use OOP for the experience of it. Therefore, I plan to have all my data stored within some type of storage class (maybe a double ended queue). Would it be quicker / better to use the mySQL database for searching data types within the mySQL DB, or would it be faster to store the storage objects (PHP object types) in the database for access later? I'm pretty confused over this, but I want to implement the best / fasted solution even if that means going to a lower level of abstraction. I have no fear. ;)
This leads me to question 2.
2) Java has a Java Standard Library. Does PHP have a similar library and a documented class library? (Or something similar to that effect).
Thanks!