Re: [PHP] PHP vs JSP?
Peter Lauri wrote: > Best groupmember, > > Why should I choose PHP instead of JSP/Servlets when it comes to develop a > high-traffic site. Assume that the infrastructure for both are set up. It > only comes to efficiency (both coding and running)? What are your > experience? I believe PHP and JSP are on par with regards to performance in terms of spewing out pages quickly. I'm sure there are counter-examples every which way for specific algorithms or specific functions on a very microscopic level where PHP or JSP clearly "wins" a performance race, but in general, they should be on par. I think JSP is a little more resource-intensive by nature, though it depends how much OOP you use in PHP (I use none). PHP will probably be easier to code, and more easily maintained, which is the real "win" in my book. YMMV. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs JSP?
Travis Conway wrote: Did he really ask that question on a PHP board? That is like walking into a Coke factory, going to the manager and asking "pepsi or coke?" Good a place as any to ask. Sure, the opinions one receives here may be a bit biased towards php, but most of the users on this list subscribe to the, "use what best suits your needs" philosophy. Not to mention that quite a few of us also have experience with JSP (as well as other technologies), so comparisons can be made. -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs JSP?
Travis Conway wrote: Did he really ask that question on a PHP board? I have met factory managers (though not at the comanies you mention ) who have admitted that their competitors may have the edge :-) But seriously whether PHP is better or JSP is better is a religious question. However on the point of ease of use PHP is a clear winner. There are other areas in which J2EE wins but let's not go into it here. -- Raditha Dissanayake. -- http://www.radinks.com/print/card-designer/ | Card Designer Applet http://www.radinks.com/upload/ | Drag and Drop Upload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs JSP?
Did he really ask that question on a PHP board? That is like walking into a Coke factory, going to the manager and asking "pepsi or coke?" - Original Message - From: "Raditha Dissanayake" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, December 11, 2004 7:11 AM Subject: Re: [PHP] PHP vs JSP? Peter Lauri wrote: Best groupmember, Why should I choose PHP instead of JSP/Servlets when it comes to develop a high-traffic site. Assume that the infrastructure for both are set up. It only comes to efficiency (both coding and running)? What are your experience? As a sun certified java programmer, let me assure you that PHP is easier to work with. -- - Best Of Times /Peter Lauri -- Raditha Dissanayake. -- http://www.radinks.com/print/card-designer/ | Card Designer Applet http://www.radinks.com/upload/ | Drag and Drop Upload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs JSP?
Peter Lauri wrote: Best groupmember, Why should I choose PHP instead of JSP/Servlets when it comes to develop a high-traffic site. Assume that the infrastructure for both are set up. It only comes to efficiency (both coding and running)? What are your experience? As a sun certified java programmer, let me assure you that PHP is easier to work with. -- - Best Of Times /Peter Lauri -- Raditha Dissanayake. -- http://www.radinks.com/print/card-designer/ | Card Designer Applet http://www.radinks.com/upload/ | Drag and Drop Upload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs JSP?
Because you prefer it? Seriously, you should choose what you are most happy with. Both work fine, although, PHP rocks! On 11 Dec 2004, at 10:11, Peter Lauri wrote: Best groupmember, Why should I choose PHP instead of JSP/Servlets when it comes to develop a high-traffic site. Assume that the infrastructure for both are set up. It only comes to efficiency (both coding and running)? What are your experience? -- - Best Of Times /Peter Lauri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP vs JSP?
Best groupmember, Why should I choose PHP instead of JSP/Servlets when it comes to develop a high-traffic site. Assume that the infrastructure for both are set up. It only comes to efficiency (both coding and running)? What are your experience? -- - Best Of Times /Peter Lauri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. jsp, advice please
hi! i run some really big apps (crms/email/shopping carts/directories/forums/etc) that make use of persistance type data but NEARLY all of it is just put in and removed from the DB - just all kinds of little/big functions that need to maintain some data or state(s) of some data - my system averages 20 queries per second - thousands and thousands and thousands of simple queries - the only persistance is with mysql connections just my two cents On Tue, 2003-06-10 at 17:51, Jean-Christian Imbeault wrote: > Cpt John W. Holmes wrote: > > Agree 100%. Don't assume that just because you use JSP, or any other > > language, your program is going to instantly "scale well" and be easy to > > maintain. You can write crappy, inefficient code in any language. You can > > also write good programs in most any language if you put the proper planning > > into it before hand. > > Ok, I've got answers concerning the learning curve and maintainability > and some pros and cons that I have found very useful. > > Now the one last point that I would like to really find out about is > persistence. I keep hearing that you can get *true* persistence with > jsp/servlets/beans/whatever. I'm still trying to find out more details > on this as I can't see how you can get that since HTML is stateless and > whatever the backend is it all eventually turns into an HTML connection ... > > Sessions in PHP are nice but as everyone knows they don't allow for true > persistence. And if you want to have your objects persist over a > session, that's even more work (and in my short programming career I > have not yet found a case where persisting a PHP object across a session > was worth the trouble/overhead). > > Can anyone offer an opinion on this? Is persistence with jsp that much > easier compared to PHP? And if true persistence is possible is it all > it's cracked up to be? > > I've often dreamed of being able to have true persistence but if I had > it maybe I wouldn't find it all that useful once I'd had a go with it. > > Thanks, > > Jean-Christian Imbeault -- Jimmy Brake <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. jsp, advice please
Cpt John W. Holmes wrote: Agree 100%. Don't assume that just because you use JSP, or any other language, your program is going to instantly "scale well" and be easy to maintain. You can write crappy, inefficient code in any language. You can also write good programs in most any language if you put the proper planning into it before hand. Ok, I've got answers concerning the learning curve and maintainability and some pros and cons that I have found very useful. Now the one last point that I would like to really find out about is persistence. I keep hearing that you can get *true* persistence with jsp/servlets/beans/whatever. I'm still trying to find out more details on this as I can't see how you can get that since HTML is stateless and whatever the backend is it all eventually turns into an HTML connection ... Sessions in PHP are nice but as everyone knows they don't allow for true persistence. And if you want to have your objects persist over a session, that's even more work (and in my short programming career I have not yet found a case where persisting a PHP object across a session was worth the trouble/overhead). Can anyone offer an opinion on this? Is persistence with jsp that much easier compared to PHP? And if true persistence is possible is it all it's cracked up to be? I've often dreamed of being able to have true persistence but if I had it maybe I wouldn't find it all that useful once I'd had a go with it. Thanks, Jean-Christian Imbeault -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. jsp, advice please
Agree 100%. Don't assume that just because you use JSP, or any other language, your program is going to instantly "scale well" and be easy to maintain. You can write crappy, inefficient code in any language. You can also write good programs in most any language if you put the proper planning into it before hand. It all comes down to using the language you know well enough to make your program efficient. If you decide to use JSP, great, I wish you all the best. If you decide to use PHP, great, I wish you all the best and we'll be here on the mailing list to help. ---John Holmes... PS: Sorry for the top-post, OE sucks! - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Jean-Christian Imbeault" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 7:46 AM Subject: RE: [PHP] PHP vs. jsp, advice please [snip] I'm worried that PHP won't scale well. And by scaling I don't mean under heavy load, I mean maintenance wise :) I can't imagine having to do a feature upgrade on a PHP project with more than 100 files ... (this file requires that file which requires that one and so on ...) [/snip] This is really a planning issue. PHP scales extremely well maintenance wise if you plan the application well. IMHO a lot of PHP developers operate fast and loose because the language allows it, therefore planning is glossed over and maintenance issues get out of hand. Conversely there are many well planned large scale PHP projects that do not suffer from the maintenance problems you describe. I have seen this problem in other apps using other languages...so I think that this is a moot point. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP vs. jsp, advice please
[snip] I'm worried that PHP won't scale well. And by scaling I don't mean under heavy load, I mean maintenance wise :) I can't imagine having to do a feature upgrade on a PHP project with more than 100 files ... (this file requires that file which requires that one and so on ...) [/snip] This is really a planning issue. PHP scales extremely well maintenance wise if you plan the application well. IMHO a lot of PHP developers operate fast and loose because the language allows it, therefore planning is glossed over and maintenance issues get out of hand. Conversely there are many well planned large scale PHP projects that do not suffer from the maintenance problems you describe. I have seen this problem in other apps using other languages...so I think that this is a moot point. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. jsp, advice please
> > You might want to look around the jakarta projects and ask questions on > > some of those mailing lists. > > Thanks for the advice. I'll try that. But I *would* like to hear the > opinions of PHP'ers too. I'm worried that by asking people on that list > Ill get one-sided views. Of COURSE you'll get one-sided opinions over there. No, actually, they're mostly pretty open-minded. I think I recall a thread or two on one or both of the lists I mentioned comparing JSP with tomcat and maybe struts to php. You should be able to find it on marc or one of the other places that archives the jakarta lists. Hmm. "php" seems to get a lot of unrelated hits for some reason, but I notice that some people seem to have apache, tomcat, and php all running together. > What do PHP people who've tried jsp or struts think? > > > (tomcat is an open source java server that can be used with or without > > apache, and struts is an application framework.) > > The jsp'ers that I talked with could not stop praising struts ... which > is what got me interested in finding out more and maybe even switching. Yeah, and the guys who developed struts are already working on something even better ... > I just hope that if I do decide that struts are worth the switch the > learning curve isn't too steep. Or the installation curve also since I'm > the lone sysadmin too ... Well, it was pretty steep for me because I was trying to pick up Java and objects at the same time. I think you'll have less trouble if you already are comfortable with Java. -- Joel Rees <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. jsp, advice please
Hello Well here is my opinion on the two. I think it is a lot easier to get an app ready and running with PHP (especially database driven) than it is with JSP. The memory footprint of PHP is a lot lower than with JSP. Alone the JVM that needs to be loaded requires lots of resources. Also installing a Servletcontainer can be a pain in the but I don't think this is really a matter of choosing between the two. In PHP it is quite easy to programm fast and dirty but I find it hard to programm clean easy to maintain code (mostly due to the typless nature of the system, the inclusion of php code in HTML and the "per request parsing"). This is supported with the lack of true object oriented programming in PHP (at least IMHO) - this might be different with PHP 5 - (NO FLAMES ON THIS!!!). JSP tends to force you to use a cleaner design since you have to declare all your interfaces before hand. This does not mean you can't programm dirty in JSP. Do to the memory model used in JSP it is also easier to maintain session and request state since you have the abitlity to access the different scopes (Application, Session, Request) through a clean interface. Struts supports you in this by separating your view from your logic in a clean managable fashion. If used in conjuction with a generating tool struts is fairly easy and fast to use. ( I recommend eclipse and a struts plugin like easy struts but this is just my opinion) On the other hand the learning curve for JSP and Struts is a lot higher than using PHP. If you are using EJB in the backend (or other JAVA technologies) I think it is easier if you go with JSP since you are staying in the same programming paradigm although webservices should make it fairly easy to connect PHP to an EJB. Also i18n tends to be easier with Java than with PHP due to the builtin UNICODE support. One last thing in JSP you have the namespace advantage. In PHP large applications tend to clutterup the global namespace and great care must be taken to prevent variable redeclarations. But this is mainly a coding / team issue. (Pear and their codingguidelnes might be a good resolution to this problem) JSP does add the threading issue which is not too apparent but can be a real pain. But if you follow some guidlines it should not become an issue. The fazit: Can't really tell you this or that is better since I think you can built largescale application in both. Depends on your preferences which one is easier to use. All I can say OO is much better in JAVA than in PHP. If you are using PHP I recommend using smarty as a templating engine and building your own custom functions to have a clean separation of logic and view. Hope that helps a little Stefan Langer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. jsp, advice please
Installing JSP isn't impossible, but it can be a true pain... At least on windows... There are lots of environiment variables to set (well, two at least), config files to edit, a directory structure to understand (this is probably way simplier than I currently think it is)... However, once you get Tomcat running, it's quite easy to just install mod_jk to Apache and configure it some, then you are set... I think... AFAIK, Java is nicer when you like objects... PHP is more procedual... Some people like objects, some like them in small scales and some people hate them... I like objects as long as not _everything_ are objects like in javascript... Although, now that I understand it, I like them more than before (a number is a number for me, meaning it shouldn't have methods)... Something more to think about is Aspects... I read somewhere that they are the future, although, I didn't understand a word about what they are... "Jean-Christian Imbeault" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Joel Rees wrote: > > > > You might want to look around the jakarta projects and ask questions on > > some of those mailing lists. > > Thanks for the advice. I'll try that. But I *would* like to hear the > opinions of PHP'ers too. I'm worried that by asking people on that list > Ill get one-sided views. > > What do PHP people who've tried jsp or struts think? > > > (tomcat is an open source java server that can be used with or without > > apache, and struts is an application framework.) > > The jsp'ers that I talked with could not stop praising struts ... which > is what got me interested in finding out more and maybe even switching. > > I just hope that if I do decide that struts are worth the switch the > learning curve isn't too steep. Or the installation curve also since I'm > the lone sysadmin too ... > > Thanks, > > Jean-Christian Imbeault > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. jsp, advice please
Joel Rees wrote: You might want to look around the jakarta projects and ask questions on some of those mailing lists. Thanks for the advice. I'll try that. But I *would* like to hear the opinions of PHP'ers too. I'm worried that by asking people on that list Ill get one-sided views. What do PHP people who've tried jsp or struts think? (tomcat is an open source java server that can be used with or without apache, and struts is an application framework.) The jsp'ers that I talked with could not stop praising struts ... which is what got me interested in finding out more and maybe even switching. I just hope that if I do decide that struts are worth the switch the learning curve isn't too steep. Or the installation curve also since I'm the lone sysadmin too ... Thanks, Jean-Christian Imbeault -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. jsp, advice please
> ... > Before I start my new project I am considering whether to use PHP again > or to switch to jsp. I'm worried that PHP won't scale well. And by > scaling I don't mean under heavy load, I mean maintenance wise :) I > can't imagine having to do a feature upgrade on a PHP project with more > than 100 files ... (this file requires that file which requires that one > and so on ...) > > I used to be a java programmer and always wax nostalgic about how easy > it was to program-by-contract using objects and interfaces. And I'm > always gripping about how much pain session handling is (not because of > PHP but because HTTP is stateless). > ... You might want to look around the jakarta projects and ask questions on some of those mailing lists. I've monitored the tomcat and struts lists in the past, and gotten a bit of help there: http://jakarta.apache.org (tomcat is an open source java server that can be used with or without apache, and struts is an application framework.) -- Joel Rees <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP vs. jsp, advice please
I've just finished a big PHP project and I'm about to start a new project. I've had both fun and pain with PHP. The new project would be another one of those database driven online store kind-of things for a somewhat large company. Before I start my new project I am considering whether to use PHP again or to switch to jsp. I'm worried that PHP won't scale well. And by scaling I don't mean under heavy load, I mean maintenance wise :) I can't imagine having to do a feature upgrade on a PHP project with more than 100 files ... (this file requires that file which requires that one and so on ...) I used to be a java programmer and always wax nostalgic about how easy it was to program-by-contract using objects and interfaces. And I'm always gripping about how much pain session handling is (not because of PHP but because HTTP is stateless). I don't know anything about jsp but I've asked a few jsp programmer and I've heard lots of good things about it. They tell me I can get "true" object-oriented programming, object persistence *and* much easier to manage session handling. However none of them have ever used PHP so they can't really compare the two. Can anyone give personal opinion of a comparison of the two? Are they two completely different beast hence totally for totally different purposes? Or are they two languages that are mostly used for the same things? Thanks, Jean-Christian Imbeault -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP vs JSP
Dear all, How is PHP similar to / different than JSP ? I mean, in JSP the page is compiled the first time it runs on the web-browser, then the next time it finds the .class file and just runs it. i.e. the compiling is "just" the first time !! How does it work in PHP? Does PHP has any way to figure out whether it's first time ? that is does PHP compile .php file to some .compiled_php type and then it gives the output ? Thanks a lot. Paras. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs JSP
Not really a JSP/PHP issue, but you mention that there's another developer. Are you in a bidding war with this person? If you're vying for business, don't get into putting JSP down, not out of hand anyway. Simply state the benefits that PHP has to offer. Our machines may be weird, but we've found that PHP running against servlets (on enhydra) - PHP generally runs faster. This all depends on the JVM underneath of course, and I don't remember which ones we tested. JSP seems to run even slower, though we didn't do scientific testing. :) This doesn't mean JSP is bad, but that for equivalent performance, you may need more expensive hardware, which affects a project's bottom line. Assumption is that this would be a dedicated server - I don't know of too many hosting companies that offer JSP service (sure they exist someplace tho). Compare compilation time of JSP pages vs. the compilation time of PHP4 through the APC. There doesn't seem to be any time at all with APC, yet with JSP there is/was a noticeable compilation lag on the first execution of a page - I've been told there are faster compilers, but we were using "standard" stuff. (getting over my head here, but I've *seen* the development effects of servlets, and JSP gets compiled into servlets, so there's even an extra step there). Again, if you're bidding, you'll lose if you just say 'JSP sucks'. There was an zdnet article a few weeks ago - JSP/ASP/CF/PHP. PHP was the fastest, JSP the slowest. Good luck - contact me offlist if you want to discuss this further. [EMAIL PROTECTED] wrote: > Hi, > > Just wondering if anyone knows of any links to information relating to PHP vs > JSP where PHP is my language of choice and another developer is recommending > JSP but I know nothing about JSP to help me convince the buyer that PHP is a > better choice. > > A question that was raised is that PHP cannot be integrated with C++ for > large functions etc. > > My response was that I haven`t found a function that PHP cannot handle > therefor integration was not a requirement > > Anyone else have any valid upside or downsides to the languages which could > help > > Thanks > Ade > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP vs JSP
The general php mailing list discusses this every so often, here are a few threads : http://marc.theaimsgroup.com/?l=php-general&m=97948720824237&w=2 http://marc.theaimsgroup.com/?l=php-general&m=97621741324759&w=2 http://marc.theaimsgroup.com/?l=php-general&m=97413389003820&w=2 Can find more here : http://marc.theaimsgroup.com/?l=php-general&r=1&w=2&q=b&s=jsp Regards, Philip Olson http://www.cornado.com/ On Tue, 13 Feb 2001 [EMAIL PROTECTED] wrote: > Hi, > > Just wondering if anyone knows of any links to information relating to PHP vs > JSP where PHP is my language of choice and another developer is recommending > JSP but I know nothing about JSP to help me convince the buyer that PHP is a > better choice. > > A question that was raised is that PHP cannot be integrated with C++ for > large functions etc. > > My response was that I haven`t found a function that PHP cannot handle > therefor integration was not a requirement > > Anyone else have any valid upside or downsides to the languages which could > help > > Thanks > Ade > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP vs JSP
[EMAIL PROTECTED] wrote: > > Hi, > > Just wondering if anyone knows of any links to information relating to PHP vs > JSP where PHP is my language of choice and another developer is recommending > JSP but I know nothing about JSP to help me convince the buyer that PHP is a > better choice. > ... Here's something: http://php.weblogs.com/jsp Maybe it helps a little. :) -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP vs JSP
Hi, Just wondering if anyone knows of any links to information relating to PHP vs JSP where PHP is my language of choice and another developer is recommending JSP but I know nothing about JSP to help me convince the buyer that PHP is a better choice. A question that was raised is that PHP cannot be integrated with C++ for large functions etc. My response was that I haven`t found a function that PHP cannot handle therefor integration was not a requirement Anyone else have any valid upside or downsides to the languages which could help Thanks Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP vs JSP
This has been covered extensively in the archives - just an FYI. --Joe On Sun, Jan 14, 2001 at 10:10:56PM -0600, Cal Evans wrote: > Actually, I understand what he's trying to say, even if I don't agree with > him. The main problem people have had with load balancing is sessions. If a > particular scripting language *cough*ASP stores session information in > memory then the load balancing system has to always send the session from a > given user to the same server. (during that session) > > IMHO, the easiest way to do this (without writing your own session handling > scheme and then telling people about it but not divulging details!) ;) is > to store the session info in a database. Using a central database for all > sessions, any server can get to the session info for any user. > > I've just finished leading a team on a large scale JSP application. While > it is slower to develop in (Java has a high learning curve, IMHO) The > servlet engine we are using, JRun is fairly fast. Our bottle neck right now > seems to be a poorly tuned Oracle database. > > My $0.02, > Cal > http://www.calevans.com > > > -Original Message- > From: Alex Black [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 14, 2001 7:02 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP vs JSP > > > http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html > > gah: > > "Also, any organization doing clustering or failover with PHP is in largely > uncharted waters. " > > what _bull_! > > what does loadbalancing and clustering have to do with any scripting > language? this guy is obviously one of those dilettantes that things CFML is > the holy grail :P > > anyway, that article is wrong, _except_ the part about JSP: > -slow > -extremely time consuming > -friggin annoying :) > > I've worked on a couple of projects with JSP, and decided to use PHP to > build binarycloud. 'nuff said :) > > _alex > > > > -- > Alex Black, Head Monkey > [EMAIL PROTECTED] > > The Turing Studio, Inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > Saul Zaentz Film Center > 2600 Tenth St Suite 433 > Berkeley, CA 94710-2522 > > > > > > From: [EMAIL PROTECTED] (Donald Goodwill) > > Newsgroups: php.general > > Date: 14 Jan 2001 15:13:12 -0800 > > Subject: Re: [PHP] PHP vs JSP > > > > There is an interesting ZD Net comparison of several > > scripting languages at > > http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html > > Some time ago I did the comparison of JSP to PHP and > > JSP turned out to be much, much slower. > > > > Now I'm just learning CodeCharge generator and so far > > it seems really helpful. I even started redoing one > > project from scratch using it. Maybe surprise your > > client and create both PHP and JSP versions... > > > > > > - Original Message - > > From: <[EMAIL PROTECTED]> > > To: PHP list <[EMAIL PROTECTED]> > > Sent: Sunday, January 14, 2001 7:35 PM > > Subject: [PHP] PHP vs JSP > > > > > >> Hi all > >> > >> I'm busy working on a contract .. and we need to do > > some web based > > stuff > > .. but the client is intent on using jsp and not PHP. > >> Is there somewhere where I can get good comparists > > between the two > > pro and > > cons etc etc .. > >> > >> I would much rather use PHP then JSP for the > > development > >> > >> Thanks > >> Henti Smith > >> > > > > > > __ > > Do You Yahoo!? > > Get email at your own domain with Yahoo! Mail. > > http://personal.mail.yahoo.com/ > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Joe Stump, PHP Hacker [EMAIL PROTECTED] http://www.miester.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] PHP vs JSP
Actually, I understand what he's trying to say, even if I don't agree with him. The main problem people have had with load balancing is sessions. If a particular scripting language *cough*ASP stores session information in memory then the load balancing system has to always send the session from a given user to the same server. (during that session) IMHO, the easiest way to do this (without writing your own session handling scheme and then telling people about it but not divulging details!) ;) is to store the session info in a database. Using a central database for all sessions, any server can get to the session info for any user. I've just finished leading a team on a large scale JSP application. While it is slower to develop in (Java has a high learning curve, IMHO) The servlet engine we are using, JRun is fairly fast. Our bottle neck right now seems to be a poorly tuned Oracle database. My $0.02, Cal http://www.calevans.com -Original Message- From: Alex Black [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 14, 2001 7:02 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP vs JSP http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html gah: "Also, any organization doing clustering or failover with PHP is in largely uncharted waters. " what _bull_! what does loadbalancing and clustering have to do with any scripting language? this guy is obviously one of those dilettantes that things CFML is the holy grail :P anyway, that article is wrong, _except_ the part about JSP: -slow -extremely time consuming -friggin annoying :) I've worked on a couple of projects with JSP, and decided to use PHP to build binarycloud. 'nuff said :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (Donald Goodwill) > Newsgroups: php.general > Date: 14 Jan 2001 15:13:12 -0800 > Subject: Re: [PHP] PHP vs JSP > > There is an interesting ZD Net comparison of several > scripting languages at > http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html > Some time ago I did the comparison of JSP to PHP and > JSP turned out to be much, much slower. > > Now I'm just learning CodeCharge generator and so far > it seems really helpful. I even started redoing one > project from scratch using it. Maybe surprise your > client and create both PHP and JSP versions... > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: PHP list <[EMAIL PROTECTED]> > Sent: Sunday, January 14, 2001 7:35 PM > Subject: [PHP] PHP vs JSP > > >> Hi all >> >> I'm busy working on a contract .. and we need to do > some web based > stuff > .. but the client is intent on using jsp and not PHP. >> Is there somewhere where I can get good comparists > between the two > pro and > cons etc etc .. >> >> I would much rather use PHP then JSP for the > development >> >> Thanks >> Henti Smith >> > > > __ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP vs JSP
> I've worked on a couple of projects with JSP, and decided to use PHP to > build binarycloud. 'nuff said :) > ok, that's ONCE today.. =) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP vs JSP
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html gah: "Also, any organization doing clustering or failover with PHP is in largely uncharted waters. " what _bull_! what does loadbalancing and clustering have to do with any scripting language? this guy is obviously one of those dilettantes that things CFML is the holy grail :P anyway, that article is wrong, _except_ the part about JSP: -slow -extremely time consuming -friggin annoying :) I've worked on a couple of projects with JSP, and decided to use PHP to build binarycloud. 'nuff said :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (Donald Goodwill) > Newsgroups: php.general > Date: 14 Jan 2001 15:13:12 -0800 > Subject: Re: [PHP] PHP vs JSP > > There is an interesting ZD Net comparison of several > scripting languages at > http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html > Some time ago I did the comparison of JSP to PHP and > JSP turned out to be much, much slower. > > Now I'm just learning CodeCharge generator and so far > it seems really helpful. I even started redoing one > project from scratch using it. Maybe surprise your > client and create both PHP and JSP versions... > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: PHP list <[EMAIL PROTECTED]> > Sent: Sunday, January 14, 2001 7:35 PM > Subject: [PHP] PHP vs JSP > > >> Hi all >> >> I'm busy working on a contract .. and we need to do > some web based > stuff > .. but the client is intent on using jsp and not PHP. >> Is there somewhere where I can get good comparists > between the two > pro and > cons etc etc .. >> >> I would much rather use PHP then JSP for the > development >> >> Thanks >> Henti Smith >> > > > __ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP vs JSP
There is an interesting ZD Net comparison of several scripting languages at http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Some time ago I did the comparison of JSP to PHP and JSP turned out to be much, much slower. Now I'm just learning CodeCharge generator and so far it seems really helpful. I even started redoing one project from scratch using it. Maybe surprise your client and create both PHP and JSP versions... - Original Message - From: <[EMAIL PROTECTED]> To: PHP list <[EMAIL PROTECTED]> Sent: Sunday, January 14, 2001 7:35 PM Subject: [PHP] PHP vs JSP > Hi all > > I'm busy working on a contract .. and we need to do some web based stuff .. but the client is intent on using jsp and not PHP. > Is there somewhere where I can get good comparists between the two pro and cons etc etc .. > > I would much rather use PHP then JSP for the development > > Thanks > Henti Smith > __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP vs JSP
There is an interesting ZD Net comparison of several scripting languages at http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Some time ago I did the comparison of JSP to PHP and JSP turned out to be much, much slower. Now I'm just learning CodeCharge generator and so far it seems really helpful. I even started redoing one project from scratch using it. Maybe surprise your client and create both PHP and JSP versions... - Original Message - From: <[EMAIL PROTECTED]> To: PHP list <[EMAIL PROTECTED]> Sent: Sunday, January 14, 2001 7:35 PM Subject: [PHP] PHP vs JSP > Hi all > > I'm busy working on a contract .. and we need to do some web based stuff .. but the client is intent on using jsp and not PHP. > Is there somewhere where I can get good comparists between the two pro and cons etc etc .. > > I would much rather use PHP then JSP for the development > > Thanks > Henti Smith > __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP vs JSP
>I'm busy working on a contract .. and we need to do some web based stuff .. but the client is intent on using jsp and not PHP. >Is there somewhere where I can get good comparists between the two pro and cons etc etc .. Try http://www-4.ibm.com/software/developer/library/script-survey/?dwzone=linux- web Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] PHP vs JSP
Greetings Henti, While I personally prefer working I PHP after having just finished leading a team of developers on a large JSP project, I would advise you to use the technologies that your client is most comfortable with. Especially if they understand that it will cost more and are willing to pay the extra. It is my experience that while JSP is more powerful, you pay for that power in development time. Since the Java API is so broad, you sometimes have to hunt around for a while to find the right commands to do the job. PHP will do 75% of the job, do it fast enough to please most clients and developers can usually do it quicker in PHP. Does your client have overriding technical concerns about PHP? Do they have specific reasons why they are insisting on Java? (technical or otherwise?) I worked a job once where we had to deploy Solaris on Sun HW just because it was in the medical industry and the client did not feel that Linux would be accepted. It did not matter that it would eventually cost the client over 1 million on HW just to do the job. (We could have distributed a lot of low cost Linux boxes, done the same job for about 1/3 of that) Bottom line is some people just don' get it. If you want the contract then I would go JSP. If you don't want' it/need it, walk away. Cal http://.calevans.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 14, 2001 9:35 PM To: PHP list Subject: [PHP] PHP vs JSP Hi all I'm busy working on a contract .. and we need to do some web based stuff .. but the client is intent on using jsp and not PHP. Is there somewhere where I can get good comparists between the two pro and cons etc etc .. I would much rather use PHP then JSP for the development Thanks Henti Smith -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP vs JSP
Hi all I'm busy working on a contract .. and we need to do some web based stuff .. but the client is intent on using jsp and not PHP. Is there somewhere where I can get good comparists between the two pro and cons etc etc .. I would much rather use PHP then JSP for the development Thanks Henti Smith -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]