Saturday, August 21, 2010

What would you learn if you were a newbie like me. Asp.Net or PHP?

Please detail how long will take to be good at it. Considering that I will spend an average of 3H per day learning it. Thanks.What would you learn if you were a newbie like me. Asp.Net or PHP?
Hello,








PHP is a relatively simpler language to use than ASP.net. Many developers find themselves to be more at ease with the user-friendly nature of PHP when it comes to coding. However, critics also count this advantage of PHP as a disadvantage. Some of them maintain that the language of PHP has not been updated much, and hence it is still quite archaic and even, somewhat cumbersome for coding. ASP.net, which is a relatively new development, has a lot of options when it comes to languages. Here, you can use languages such as C#, J#, C++ and VB.net. Hence, when it comes to sheer choice, ASP.net has better to offer. But PHP is no less, since it can do its task quite well, even with its minimum language tools. The main thing your site will be used for is database reference. PHP is has much better support for the database management system, MySQL. This factor alone should probably help you make your decision. There is a lot to debate on about the worthiness of PHP over ASP.net or vice-versa. There is probably no end to it, and there never shall be. The problem mainly is that both of them are good in their own place, but people who have been staunchly using PHP for several years now 鈥?some of them for more than a decade 鈥?would certainly not like to go in for the new ASP.net. The price to be paid is quite high, i.e. learning a whole new syntax and getting used to it. That is more the reason why PHP is still so popular.





Good Luck!


Sean Colicchio


Server Engineer


Host My Site


hostmysite.comWhat would you learn if you were a newbie like me. Asp.Net or PHP?
*****Quote: w3schools.com*****


Before you continue you should have a basic understanding of the following:





* HTML/XHTML


* JavaScript


*************************************





PHP is great, but be sure you know a little bit about the above mentioned. w3schools.com is a great place to learn all kinds of coding. They teach the web standards that are created by the World Wide Web Consortium. If you were working 3 hours a day on PHP I would suspect you could get through their entire tutorial on PHP in 1 to 3 days. Then you would know all of the syntax, the next step would be to start fooling around with it and when you can't remember some of the code you just use the reference.
PHP. It is open source, and fits with many setups.





How long it takes you to learn it depends on how you learn. I am a hands-on learner so I prefer to get books like PHP Cookbook and learn by deconstructing code. That way, I get the language structure and methodology at the same time I get syntax.





It also depends on whether or not you understand logic, and programming standards already. If you know how to code something in another language, then ramp up time will be shorter. It is possible (and desirable) to do OOP with PHP.





Also, take a look at this:





http://www.w3schools.com/PHP/
PHP





If you spend three hours a day on it, with lots of testing and trying it yourself, you'll be pretty good in a week (being able to cover some of the basics and intermidiate tasks.)





After another week or so, If you dive into MySQL a little, you'll step up your game a lot further.
I would learn PHP. ASP only works Microsoft platforms, whereas php works on multiple platforms and is open source.


Plus, I've used both and PHP is a lot nicer to work with than ASP (ASP is better for specific things but I find it isn't as flexible)
Definately PHP!!!

No comments:

Post a Comment