| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Jan 2005
Posts: 212
![]() | picking up PHP hi, I am looking for a fast way to learn PHP and whatever accompanies it, no kidding. I know C++, a bit of java and almost all the object oriented principles so whats the most practical way to learn it? |
| |
| | #2 (permalink) |
| Domains my Dominion Join Date: Aug 2005 Location: Web 1.0
Posts: 9,552
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | The manual is a must read... visit php.net (not .com lol), to have an overview of the functions. For each function there are some useful comments from users and examples too. The best would be to start with a small project involving a dynamic site with database for example. Perhaps if you have some spare domain to develop it would be a good opportunity. Your C background will help too
__________________ NameNewsletter.com - free lists of available domain names ZoneFiles.net (beta) - ccTLD and gTLD droplists |
| |
| | #3 (permalink) |
| Senior Member Join Date: Aug 2005 Location: United Kindom
Posts: 1,502
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Another way that could help look at pre made snippets like at www.phpfreaks.com and join a few forums to do with php. www.phpsociety.com is a good one... |
| |
| | #4 (permalink) | ||||
| Senior Member Join Date: Aug 2005 Location: Uk, South Yorkshire
Posts: 1,225
![]() ![]() ![]() ![]() ![]() ![]() ![]() | Read the official manual, and look at www.tizag.com I learned by reading code, looking how it worked etc. It can be abit daunting at first, but it really isn't that hard. ![]()
__________________ Cueburst - Support System - FAQ Knowledge Base, Tickets and more. | ||||
| |
| | #7 (permalink) |
| Danltn.com Join Date: May 2007 Location: Danltn.com / Nottingham, UK
Posts: 1,201
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I learnt by reading code, for me it's still the best way. Learn by example. But to advise some sites: http://w3schools.com <-- Read this first, it explains a good bit. Then http://php.net and through that. Finally go look at snippets etc at http://phpfreaks.com My advice
__________________ |
| |
| | #8 (permalink) |
| NamePros Expert Join Date: Mar 2006 Location: AUSTRALIA
Posts: 6,438
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | hi guys, for someone who knows only a bit of HTML like me and I`m trying to start to develop some of my sites......could you give me a good reason for which php is necessary? I don`t know nothing about php yet. Thanks |
| |
| | #9 (permalink) |
| Senior Member Join Date: Oct 2006 Location: http://akshayjain.org
Posts: 2,830
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | with php u can do everything u can think off with ur server.. with ur site, u can add databases with it , make them dynamic, make them searchable via ur own server, do unlimited things without any restrictions.. (some restrictions till u are really a pro ) |
| |
| | #10 (permalink) |
| DNOA Certified Seller ![]() Join Date: Apr 2005 Location: Arizona
Posts: 3,680
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Offer to build sites for free, with the stipulation that you are new and are just looking for experience. I learned A TON of php by agreeing to make an apartment complex listing script. It's always nice to have a project in mind, rather than and endless supply of Hello World tutorials. Don't be afraid to learn optimization along the ways either. Take a second to try and clean up any code you make before moving on. And keep your code snippets tucked away for later use! ????: NamePros.com http://www.namepros.com/programming/360793-picking-up-php.html http://www.phpbuilder.com has a couple of members (Brad & NogDog) who respond to questions with lightning fast speed and thoughtful insight. http://www.phpvideotutorials.com offers great free video tuts for visual learners like myself. Your local community college will most likely have classes starting soon. Tuition is usually around low $xxx depending on the credit hours, and nothing beats hands on experience with an instructor watching over you. and of course, namepro's own programming section. You'd be surprised how much some domainers know about php
__________________ Nombrex.com |
| |
| | #11 (permalink) | ||||
| NamePros Expert Join Date: Mar 2006 Location: AUSTRALIA
Posts: 6,438
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
does not HTML let you add a database? thank you | ||||
| |
| | #13 (permalink) | ||||
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
HTML is purely for displaying output to a browser. It is the structure of the page. In a sense HTML is not a programming language. I would advise that you take a look around at places as mentioned such as the php manual as well as http://www.phpbuilder.com/ which has some good tutorials/articles. As you have a C++ background I would not think it necessary to do a college course as you already have an understanding of programming. Ensure that from the outset that you have a good understanding of security within your application. Unlike C++ memory management is not so much a problem as the zend engine (if I remember correctly it is the zend engine rather than the php engine) handles the memory management for you. Take a read of blogs such as Chris Shiflett's blog. He is somewhat of a security buff with regards to php http://shiflett.org/ .
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft | ||||
| |
| | #14 (permalink) | ||||
| NamePros Expert Join Date: Mar 2006 Location: AUSTRALIA
Posts: 6,438
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=360793 thank you....but I don`t have C++ background | ||||
| |
| | #15 (permalink) | ||||
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Ahh sorry the 2nd and 3rd paragraph were directed at Balmong. For a novice I would suggest going to the library or local book shop and browse through some books, look at the examples that are given and see if they look real world or totally unrelated also look at the writing style and see if it is something you can follow easily. ????: NamePros.com http://www.namepros.com/showthread.php?t=360793 Once you have grasped the basics from such a book you are better poised to understand the manual better (as well as online tutorials). Always try and be aware of security issues in fact go out of your way to research about it. I find it highly surprising about peoples lack of comprehension of security. They claim how good they are and how they have been programming PHP for x amount of years yet they don't even sanitize user input.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft | ||||
| |
| | #16 (permalink) |
| NamePros Regular Join Date: Jul 2006 Location: England
Posts: 722
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I learnt at http://w3schools.com many years ago, and although it is basic it gets you started. Php nowadays is ideal for many things when building sites from creating easy, global pages such as a global site navigation which can be edited from one file. The use of databases, as others have said, is a vital part for most php programers and the use of beeing able to process data server side, doing caculations and processing data or even sending emails. ????: NamePros.com http://www.namepros.com/showthread.php?t=360793 Php has many benifits and once you have learnt the basics you can build on them from their. I learnt php several years ago, when their were not as many books avalible if any and the web had some but not alot of resources on it. Try to set aside a time each day to learn a bit and it will grow. You never know you may be able to make a living online from it as many here including myself do although nowadays most companys are outsourcing to india. |
| |
| | #18 (permalink) | ||||
| onArcade.com Join Date: Jul 2004 Location: Estonia
Posts: 1,224
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=360793 For PHP (& MySQL) I would suggest www.php-mysql-tutorial.com, they have some good tutorials. | ||||
| |