what to do now?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

what to do now?

Post by shiznatix »

maybe the wrong forum? o well

i just finished my news script and im happy with it but now what?
i need more stuff to do...sooo what ideas u guys got for a practical script that i can write for practice. any sugestions?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

after news..

you add possibility to add comments to a newspost..
then add aslo possibility to post new items

-> you have a forum :)

and then you're ready to do real stuff :)
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

i already set up the comments section with some cool smilies to the news and all that. its basically as powerful as fusion news with a couple less option in the admin section (no upload themes and multi languages) but its perdy good and im proud of it. so whats this "real stuff" that im ready for?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

what about your own flavouring of a template engine?
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

template engine eh? what is that? like a theme thingy?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

template engines can be used to change the theme of a site easily (depending on the engine), but the real thing I like is complete seperation of content (HTML and whatnot) and logic (the code). Most things become quite modular (again, depending on the engine.)

You may want to look at Smarty, for an example of one template engine.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

whew now that sounds complex, what is sounds like is...fun :)
ianlandsman
Forum Newbie
Posts: 24
Joined: Thu Dec 30, 2004 9:50 pm
Location: New York

Post by ianlandsman »

What about enhancing your news script to pull in related blog posts from technorati, feedster,etc
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Heres a small challange, when viewing an article try and compare it to others to see if it will match as a related topic from its keywords.

google for example does this
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

shiznatix wrote:so whats this "real stuff" that im ready for?
Because you have written code to create, update, delete, list (all data manipulation can be considered as one of those 4 (or a combination of them)) you are ready to whatever that comes up in your mind :)


If you write a 2nd system now, you will notice that a lot of code has already been written in the 1st system. And offcourse, you are a good programmer (thus lazy) and don't want to write stuff over and over, you decide to move that code to a library/class. Et voila, you've got your first framework :)

When you start your 3th system you will discover shortcomings/improvements of your framework, and be able to improve it. Or you can have a look at other frameworks and decide to use one of those. As you have already writting your own, you'll be able to understand those other frameworks pretty fast.. And probably discover some nice tricks your own code didn't have...

After all this, you probably want to read some stuff about security and encryption etc... and write your own shopping cart, and integrate support for paypal etc...


Once you've done all this, come back and i'll write a sequal ;)
Post Reply