project suggestions?
Moderator: General Moderators
project suggestions?
im a newbie php programmer...just finished studying a book...and ready to look for a new job...
but i know my skills i not yet polished cause i have not used it in developing any projects/application...
any suggestion on what kind of project a newbie like me should start working on to see my skill progress???
but i know my skills i not yet polished cause i have not used it in developing any projects/application...
any suggestion on what kind of project a newbie like me should start working on to see my skill progress???
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- R4000
- Forum Contributor
- Posts: 168
- Joined: Wed Mar 08, 2006 12:50 pm
- Location: Cambridge, United Kingdom
god, you guys... this guy is new to php. "a forum" come on! not even most pro's can code a full forum.
i suggest something like:
- calculator
- time and date with GD (image)
- read and write XML file
- BASIC news system
- create a RSS feed from a MySQL database (you could even hook it up to your news script
)
i suggest something like:
- calculator
- time and date with GD (image)
- read and write XML file
- BASIC news system
- create a RSS feed from a MySQL database (you could even hook it up to your news script
I think that at first you should learn to work with files (without a database) and start with a shoutbox for example or a news script.
After that repeat this but this time using a database instead of files.
Building a shoutbox or a news script using files is not a good idea for real applications but I think you need to start with that so you will know how to work with files, and even more important than that is because this way you will learn and practice php step by step - if you don't know how to work with a database and don't know how to work with other php stuff you can't learn how to work with both of them at the same time... you won't be able to trace your errors since it might be in the database code or in the other part.
After that repeat this but this time using a database instead of files.
Building a shoutbox or a news script using files is not a good idea for real applications but I think you need to start with that so you will know how to work with files, and even more important than that is because this way you will learn and practice php step by step - if you don't know how to work with a database and don't know how to work with other php stuff you can't learn how to work with both of them at the same time... you won't be able to trace your errors since it might be in the database code or in the other part.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
flatfiles are fine, but as far as cuteNews goes from what I remember it had some serious securities flaws..R4000 wrote:erm cuteNews is a real application that uses files and is a news script, a fkin nice one too!Oren wrote:...Building a shoutbox or a news script using files is not a good idea for real applications...
although depending how complex or feature reach you would want your news script, in all likely hood its much better using a database.
Re: project suggestions?
Any project that interests you, and will keep your interest while you work on it.turgs wrote:any suggestion on what kind of project a newbie like me should start working on to see my skill progress???
Forcing yourself to create something you don't like will only increase negative feelings that php is a chore. If you work on something you like, whether its simple, or complex, doesnt matter. It will encourage your passion for coding, and thats what you need if you are just starting out.
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Huh? I understand your angle with taking it easy on a newbie...but a "pro" should be able to program anything...R4000 wrote:god, you guys... this guy is new to php. "a forum" come on! not even most pro's can code a full forum.
i suggest something like:
- calculator
- time and date with GD (image)
- read and write XML file
- BASIC news system
- create a RSS feed from a MySQL database (you could even hook it up to your news script)
Especially something general purpose, like a CMS, Forum, etc...
You suggest a calculator?
Thats probably harder than that a trivial upload script, forum or cms...
Nah. PHP has all of the "calculating" functions already. It would just be a matter of interpreting a string to run them. (It would require some work.)Hockey wrote:You suggest a calculator?
Thats probably harder than that a trivial upload script, forum or cms...
Of course, eval() could do it easiest, after str_replacing square root symbols, etc with the appropriate function names. But that's kinda cheap.
I recommended an image upload script with a database backend because it would get him familiar with the following...
1. File Handling (Beginner)
2. HTML Forms
3. MySQL Inserts & Retrieval
It's not that difficult and it's diverse. I think all ya all are more focused on arguing about what is best. Just make a recommendation and say why and be done with it.
1. File Handling (Beginner)
2. HTML Forms
3. MySQL Inserts & Retrieval
It's not that difficult and it's diverse. I think all ya all are more focused on arguing about what is best. Just make a recommendation and say why and be done with it.
It's not that we are arguing for fun, everyone says what he thinks.agtlewis wrote:I recommended an image upload script with a database backend because it would get him familiar with the following...
1. File Handling (Beginner)
2. HTML Forms
3. MySQL Inserts & Retrieval
It's not that difficult and it's diverse. I think all ya all are more focused on arguing about what is best. Just make a recommendation and say why and be done with it.
You see... in your suggestion he has to work with files AND a database. For you and me it may be a piece of cake but not for a newbie. If let's say something in the upload script doesn't work how will he be able to trace the error and solve the problem himself? it might be an error in the file handling code or perhaps in the database code.
The best way in my opinion is to learn how to work with each one of these separately and once you feel good and confident enough you can move on and build a more serious application which combines all you've learned.
P.S Let's don't make it a flame war as agtlewis said
In my experience, when you're a beginner you usually develop only sites that are only used by yourself. The problem (or advantage if you wish for a beginner) is that the chances to experience race-conditions are a lot smaller...
Becoming a decent PHP programmer usually requires not only learning php but also html and sql (yes, afterwards one will want to become familiar with even more technologies.) Imho, if you learn html and sql first, it's easier to understand that you're using php to generate the html and sql.
Becoming a decent PHP programmer usually requires not only learning php but also html and sql (yes, afterwards one will want to become familiar with even more technologies.) Imho, if you learn html and sql first, it's easier to understand that you're using php to generate the html and sql.