Jump to content

Recommended Posts

Guys,, am planning to build a website.... without a main module(all the modules will be submodules)... but am new to PHP

 

am using smarty templates,,, and php

 

can anyone pls help me how to plan this project and how to divide the modules and reusable functions....

Link to comment
https://forums.phpfreaks.com/topic/79537-solved-how-to-plan-a-project/
Share on other sites

you can just click solved (bottom left)

Planning is are to explain.. it depends on the client spec (even if your the client)

write the what the system should do (main goal) then sub goals etc

break the system down into smaller sections you could look into UML

ok..

 

  as i told, i am planning to build website which contains forums, video uploads, video streaming sections. first of all what i should do to start the project,

whether i design database tables or design webpages or any other

 

then ,, shall i  have to design smarty template files first or write bussiness logic for those template files (am using smarty template)

 

 

start with all the features you want now (more detailed than just 'Videos' - eg, what do you want a user to be able to do? can anyone view/download them? can they be commented on? etc etc) - as well as ones you may wish for in the future. once you've got a detailed idea of what you want, a sitemap will help. once all that's out the way, then you'll be more clear on things to move on to what tools are best for the job. I find it very hard to decide outright whether to use smarty or not, or whether to use Cake or CodeIgniter, etc until I at least have it clear in my head what the site should achieve.

There are entire books devoted to this topic.

 

1) Familiarize yourself with design patterns

2) Start by sketching your GUI on paper - try and discover any caveats

3) Using your visual GUI sketches, start designing your DB schema - normalize it.

4) Begin coding your HTML templates based on your visual sketches

5) Begin developing the model code

6) Begin tying your interface to your model.

7) When step 6 becomes to complex refactor into proper MVC separations.

 

Reapt until finished and voila - a complete product :)

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.