benjahnee Posted March 22, 2013 Share Posted March 22, 2013 hello guys im kind of new to this so please be nice. i am looking for advice more on the hprocess of how to do something rather than the exact code. maybe somebody could give me a short guide or step to step process idea. my task is to have an events page on a website i am making for an assignment. the events page must display the 5 nearest upcoming events the user must also be able to rearrange the events by distance or type of even. the events will be stored in a database. could somebody please offer me some advice on the best process to follow to do this task. thanks a bunch Quote Link to comment https://forums.phpfreaks.com/topic/276018-advice-on-php-code-and-what-process-i-should-take/ Share on other sites More sharing options...
Solution Psycho Posted March 22, 2013 Solution Share Posted March 22, 2013 Your question is too general to really provide a response. There are many ways to accomplish the same thing. Plus, we do not know what your knowledge base to even give some guidance. You should talk to your instructor. But, whenever you approach something like this you can start by breaking down all the requirements into small pieces of functionality, do an analysis of how they can all work together, and then build each piece of functionality one at a time. Generally, I would approach it in this fashion: Based upon the requirements, determine what data would need to be stored and set up the database. Then create the CRUD processes (create, update, delete). Then build any "display" features for the data. And, lastly, build any other features. Quote Link to comment https://forums.phpfreaks.com/topic/276018-advice-on-php-code-and-what-process-i-should-take/#findComment-1420326 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.