Jump to content

Advice on php code and what process i should take


Go to solution Solved by Psycho,

Recommended Posts

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

  • Solution

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.