- This topic is empty.
November 6, 2012 at 1:26 pm #40649
The hardest skill I have ever had to learn is PHP.
Reason being I have no where to practise it… I can use wordpress very well, understand the PHP needed for wordpress but I can never go all out and program because I never have a reason to.
Can any experienced PHP developers help me out here and tell me how I might practise this skill and not just read about it in books, as it never sinks in until I put it into practise.
When I learnt web design my sites we’re not great but I could put one together… I don’t want to spend the next 2 years programming calculator scripts and drop down menus link to a mySQL database. Is there any other more exciting way?!November 6, 2012 at 1:27 pm #113505theacefesMember
Just out of curiosity, is there a reason you want to learn to do other stuff in PHP (other than WP)? You planning on building your own CMS or other web app?November 6, 2012 at 1:31 pm #113507
I would like to build web applications yes and extend wordpress and other PHP programs and software.November 6, 2012 at 2:04 pm #113512
Practicing with WordPress is a great plan. Try expanding your themes by building widgets and other additions.November 6, 2012 at 3:43 pm #113518
I did buy a book called “WordPress 3 Plugin Development Essentials” which went something like this….
“Here is how the wordpress plugin structure works… add all your PHP here…”
For someone learning PHP this didn’t help too much.
I’d love to have a go at some plugin development tutorials that are actually explained well and are in depth, and go into depth about the PHP not just how wordpress integrates with it.November 6, 2012 at 3:53 pm #113520
No, but generally you can find things that you want to do. Like, “Oh wouldn’t it be cool if my theme did _____”. Then, instead of just trying to find a plugin that has done all the work for you, try doing it yourself!November 6, 2012 at 3:54 pm #113521
I find I learn a new technique the best when I’m forced into using it for a real goal/target/product.November 6, 2012 at 5:14 pm #113524
I am exactly the same! And theory I read from books is often never practiced so I forget it or what I learnt actually becomes dated!
I also don’t think I’ll apply the learn as and when technique in the middle of a clients build as building a plugin for the first time could drag the process out quite a lot lol
Do you know any good plugin books or online resources doc?November 6, 2012 at 5:28 pm #113526
I usually just dive into something head first and learn as I go, so it’s just a lot of googling, really.November 7, 2012 at 4:34 am #113550JoniGiuroParticipant
Just do what you want! A couple of years ago I had an internship as a back end developer (and I knew nothing about it). The first day they gave me a book and told me learn: “Ruby and the Rails framework”. So I started creating my own projects. Initially I created a blog from scratch, then a blog with comments, then one with comments and authentication, and so on.. After a couple of months I moved onto trying to “clone” existing web apps (google calendar or bit.ly) and adding my own features.
So my advice is: think of something you’d like to code and do it! with google you don’t even need a book (it’s better to have one, though)November 8, 2012 at 7:48 am #113642JamesBarnsleyParticipant
I would learn the basics first, variables, loops, statements, classes, functions etc.
Try building an app in raw PHP first, then after a few months of doing that try learning a framework.
The app in raw PHP can also be anything you want, you do not have to build a calculator etc.
You got to learn the basics and see what you can create out of those basics, not just copy from a book or create things the “books way”.February 24, 2013 at 10:55 am #125806
How long did this process take you JoniGiuro and how many hours per day on average were you putting in? Did you have any other responsibilities at your internship or was this all you focused on?February 24, 2013 at 1:51 pm #125818MottieMember
Another idea is to use [StackOverflow](http://stackoverflow.com/). You can look for questions that look interesting to you. Then try and answer the question without looking at the answers. After you figure out how you would do it, look at the answers, you’ll be surprised at how others approach the problem. Not only will this help you practice, it will improve your skills by learning from others.
Of course this idea can be applied to any programming language :PFebruary 25, 2013 at 4:07 am #125897margauxParticipant
I learned php from [this book.](http://www.larryullman.com/books/php-and-mysql-for-dynamic-web-sites-visual-quickpro-guide-4th-edition/ “”) which you can do at your own pace. It starts with the basics of the language syntax and using common programming techniques such as variables, conditions and loops. It is thorough and offers practical examples as well as good tips specific to programming, security, debugging and the language.
You’ll probably be able to dive in and out of some of the chapters but for anyone looking to learn php, this book will give you a good platform to get you up and running. The last few chapters work through real life examples including building a forum and user registration. I think there might even be an ecommerce example. The supporting forum is good and I would recommend the author’s more advanced books as well.February 25, 2013 at 7:34 pm #126037waylaidMember
One of the ways I practised was to create a database of CDs I own and then created web pages to display the data.
The first step would be to build a CMS using php to insert items into the database, update or delete them. If you make it so you have to be logged in to access the CMS pages then you’ll get practice with sessions or cookies and creating passwords.
You can then build web pages with queries / links to retrieve this info by differing criteria like band, genre etc. [This one](http://www.gbvdb.com/) inspired me, though it’s far more wide reaching than my own practices.
I used an earlier edition of the book margaux links to and found it easy to follow and adapt to my own uses.
- The forum ‘Back End’ is closed to new topics and replies.