Re: [PHP-DB] php v jsp

2004-11-20 Thread Joseph Crawford
Depending on how you code, PHP can easilly be reused. if you program procedurally it is much more difficult to reuse code however it can be done through the use of including files. If you go for the object oriented approach, php is easy to expand and reuse the code. OO is also a cleaner more

Re: [PHP-DB] php v jsp

2004-11-20 Thread John Holmes
Vikas Nanda wrote: I just wanted to know what the advantages are of using php against jsp. My supervisor wants me to use jsp but I think that php might be better. Also can php code be easy reused like jsp? Why would you think such a thing? They both accomplish the same mission using similar

Re: [PHP-DB] php v jsp

2004-11-20 Thread John Lim
See http://peteryared.blogspot.com/2003/09/next-language.html. Peter Yared was formerly CTO for Sun's Application Server groups. He has rejected JSP/J2EE and is now advocating solutions such as PHP. Pretty damning, given Peter's background: The Java API’s grow into a morass of inconsistent and