/    Sign up×
Community /Pin to ProfileBookmark

Where to start?

Hi,

I would really like to know where do you start when you want to make a new php script/app? Also when you want to start a new big web project do you start from scratch or do you build off an existing script??

Thanks

Ollie

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@hastxAug 03.2007 — Sometimes i start with existing scritps, if it is obvious that I will save time by doing so...why re-invent the wheel?

But the big jobs...start with design intent...compile a list of requirements, decide which (if any) areas of the project will require frequent updates, determine scalability needs and decide whether using flat-files or a database would be better / easier for storage.

Also, it is a good idea to decide ahead of time what you want the generated output to display like.
Copy linkTweet thisAlerts:
@SH100Aug 07.2007 — At work I was given this big php- my sql project to upload to our server.

So I have to do from installing php / my sql to learing how code of this application is working & making it work on our server. I am completely new to php.

At first I started by taking quick look at tutorial on http://www.w3schools.com.

Now I am reading script if I get across new function, I just look for it in php -manual http://www.php.net/manual/en/

For you I will say before writting new script / application, first gather all requirements of app/web site(requirement elicitation). If lot write them down.

Then do user interface(html) for client or application users to see (prototyping).

Find which tasks are repetative in your app make them as a funtions or classes.

May be if we know what specific you are trying to achieve ......


------------------
Copy linkTweet thisAlerts:
@JDM71488Aug 07.2007 — i started with w3schools as well. four years of experience i would suggest getting the basics down, and using a mvc framework instead of trying to roll your own large application from scratch. framewords can make application development so much easier in my opinion. i recommend codeigniter but there are plenty out there to choose from.
Copy linkTweet thisAlerts:
@ellisglAug 07.2007 — Pick up a PHP book - PHP in 24 hours is what I read back in the day.

As for frameworks - Codeigniter is pretty good framework to deal with.

But if you have a project that easily put together with off the shelf stuff - then all you have to do is figure out how to make them work together. IE. You want a CMS that has a CRM intergrated. You could take ModX CMS and Sugar CRM and figure out how to link them. Usually with API calls, or you make some middleware connector.
×

Success!

Help @olliem spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...