migrating from jsp to php

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
dpux
Forum Newbie
Posts: 1
Joined: Wed Sep 17, 2008 8:58 am

migrating from jsp to php

Post by dpux »

i have been using jsp for web development till now , my last project used struts..but now i want something new. being a big open-source fanatic, i want to learn php.
so i was looking for some resources, which can quicken my journey, by eliminating the stuff i have already read in jsp, and i also need to have you people reviews / comparisons regarding the two technologies...
any help or ideas ?
thanks a lot !!
arslan321
Forum Newbie
Posts: 6
Joined: Wed Sep 17, 2008 11:05 pm
Location: pakistan

Re: migrating from jsp to php

Post by arslan321 »

php is good has more enhancements i thin you should use mixture of both.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: migrating from jsp to php

Post by jayshields »

Isn't Struts open source? You'd be better off starting at php.net and reading everything that interests you, and then making some simple web apps like a guestbook or something to get a feel for the language. It's quite a bit different to JSP though, and I'm not sure if there are any similar frameworks to Struts, someone else might need to tell you about that.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Re: migrating from jsp to php

Post by Maugrim_The_Reaper »

If you're coming from Struts a lot of concepts are shared with PHP frameworks - the mechanics and components will differ but the patterns will be familiar. I'd suggest starting small with a small framework app like a guestbook/blog/shopping cart - if you know Java the differences from PHP syntax can be picked up over time. First app should give you a quick taste of how PHP differs from what you're used to.

PHP has dozens of Frameworks to suit any taste so its hard to give a recommendation. The main popular ones seem to be CodeIgnitor, Zend Framework, Symfony and CakePHP (in no particular order). Definitely look into the PHP basics before any undertaking - it's OO model isn't just the same as Java's with a few syntactic differences. There's the usual problem of PHP not being pure OO - everything is not an object - for example.
Post Reply