Sure, well-written & optimised compiled code is going to be faster than well-written & optimised interpreted code in theory, but for a trivial application like this the difference should be almost unnoticeable running over a local network. For CPU-limited apps, this would be a real issue - I suspect in this case that the CPU is the least of his worries.
I suspect that with a good reading of the ZF performance guide, and probably the performance guides for the db & webserver software, perhaps with some SQL optimisations, much of the performance lag would disappear. Some of the apparent lag may be due to the rendering of the page - by designing with Ajax, this can be minimised also. Caching? Certainly profiling the app would be a good start. M Matthew Ratzloff wrote: > > Well, which do you think is going to be faster? Compiled C++ or > interpreted > PHP (querying MySQL)? > > http://en.wikipedia.org/wiki/Compiled_language > http://en.wikipedia.org/wiki/Interpreted_language > > -Matt > > On Tue, Jun 2, 2009 at 5:26 AM, iceangel89 <[email protected]> wrote: > >> >> i know this maybe a wrong forum to post this but i like to know what >> PHP/ZF >> developers think abt this >> >> i just develop a web app that was supposed to be a replacement for a >> school's inventory management system which was originally developed in MS >> Access. i was quite embarassing actually ... after developing the system, >> i >> feel that the web app although may fullfil the clients requirements abit >> better, fix some bugs in the old system, has better features like search >> etc... >> >> i feel the access 1 was much faster even tho the data is the same ... >> isit >> because i didnt optimize my code well enough? but the difference is quite >> significant ... like maybe even arnd 5x slower in some cases. the >> "production" machine was P4 1.6GHz 256MB RAM but i am comparing in the >> same >> PC ... i did notice also that windows apps like C#/WPF/MSSQL is much >> faster >> as in like data binding ... isit becos PHP/MySQL is like on a server even >> if >> its localhost is slows things down? >> -- >> View this message in context: >> http://www.nabble.com/-General--Windows-vs-Web-Apps-tp23831570p23831570.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/-General--Windows-vs-Web-Apps-tp23831570p23835441.html Sent from the Zend Framework mailing list archive at Nabble.com.
