hi all,
after pressure from a number of clients, im venturing into the scary world of php,coming from asp/c# background.
basically i was looking to see if anybody knew of any resources that have covered this, and if there any tips and
tricks, the major similarities and differences. Also ASP has a pretty comprehensive IDE, i was wondering id there was
anything similar for php?
any help would be appreciated
thanks
asp.net to php migration
Moderator: General Moderators
Re: asp.net to php migration
Relax, it won't hurt a bit!
Actually, IMHO, PHP is much easier to learn than VB dialects. But of course, when you already know one language, learning another is always a bit daunting. Probably your biggest issue will be carrying over old habits, or getting confused between the 2 syntaxes. I don't know of any really comprehensive IDE, in the same style that you're used to, but there are lots of programming editors that give you some really helpful features. There are a couple of threads in this forum, I believe, about what editors people prefer. Try the Search in the top banner here. I have been using PSPad which I like for Windows (no Linux port, I'm afraid), largely because it has an integrated FTP, but doesn't chain you to their own ideas of how you should structure your projects. I've used Bluefish under Linux and it's also good. There are heavy duty ones like Eclipse, but for me it was too gigantic. As with just about all web-related languages, a good place to begin is with the tutorials at W3Schools.com. For exhaustive references, PHP.net. And become a frequent visitor here at DevNetwork Forums.
P.S. Major similarities and differences? Functionally, PHP isn't that different from other languages, you have all the expected logic and data features, although some have slightly different syntax. You can even do OOP, although I think that there are some limitations, compared with C#. The syntax is certainly different, but I prefer it to either VB or C. All statements must be terminated by a semicolon; all variables must begin with a dollar sign. The usual curly brackets for logical code blocks. Array indexes within square brackets. LOTS of built-in array manipulation functions, as well as file system, environment, and similar built-in functions. Good string handling functions. Very loose typing and auto-casting.
P.S. Major similarities and differences? Functionally, PHP isn't that different from other languages, you have all the expected logic and data features, although some have slightly different syntax. You can even do OOP, although I think that there are some limitations, compared with C#. The syntax is certainly different, but I prefer it to either VB or C. All statements must be terminated by a semicolon; all variables must begin with a dollar sign. The usual curly brackets for logical code blocks. Array indexes within square brackets. LOTS of built-in array manipulation functions, as well as file system, environment, and similar built-in functions. Good string handling functions. Very loose typing and auto-casting.
Last edited by califdon on Fri May 29, 2009 7:01 pm, edited 1 time in total.
Reason: Added P.S.
Reason: Added P.S.