Boards.ie uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Click here to find out more x
Post Reply  
 
Thread Tools Search this Thread
30-11-2007, 02:01   #1
BRENSH
Registered User
 
Join Date: Nov 2005
Posts: 67
Time to develop

I am wondering to all you experts at web design. How long would it take you to develop a large social networking site or content managment website from the ground up.

Or do you develop your web applications from the ground up but use repositories such as PEAR for PHP. Im sure .net can be used also.

For some reason I always feel like Im cheating (only an amateur) when I use other peoples code (I never do though) even though it increases development time.

What do you all think about that.

Thanks
BRENSH is offline  
Advertisement
30-11-2007, 08:09   #2
forbairt
Registered User
 
forbairt's Avatar
 
Join Date: Sep 2004
Location: Nantes
Posts: 3,447
I think writing your own code is all well and good BUT you are automatically adding a hell of a lot of bugs whether you think so or not.

One example i'll use is http://www.maani.us/charts/index.php the PHP/SWF Charts code. If I want to create something like that its going to take me probably months to develope. To bug fix is gonna take a hell of a lot longer. Sure I'd get a basic system up and running pretty quickly but it just wouldn't have the amount of features available with that.

Code reuse makes for less bugs in your code assuming of course you're using tried and tested code. So I'd have to recommend you not feel bad about using others code assuming the license allows for that. (in some cases of course it just won't).

PEAR / Cake / zend framework are great ways of speeding up your development time.

For something like a social network ... you've be talking about anywhere from a few weeks to having a working prototype to months.

Depending on how scalable you make it all will have a big influence on this. As well as all the nice little features we now expect by default from these types of things.
forbairt is offline  
30-11-2007, 09:48   #3
ianhobo
Registered User
 
Join Date: Feb 2007
Posts: 406
Every programming lecturer I ever had, always said....
Quote:
...Don't go re-inventing the wheel!
Writing your own code is great for learning and appreciating how things are done, but theres no point using others peoples code if you don't completely understand whats it using.

Re-using code is pretty much a skill you'll learn as you move along

Last edited by ianhobo; 30-11-2007 at 09:50. Reason: grammer
ianhobo is offline  
30-11-2007, 13:21   #4
CuLT
Pro-fessional. Anti-oxidant.
 
CuLT's Avatar
 
Join Date: Mar 2001
Location: Dublin
Posts: 9,261
Part of moving forward is embracing what those who have gone before have provided.
Sometimes the thought of building my own variation on something from the ground up is appealing (or necessary), but realistically, if everyone had excessive pride and did this all the time, we'd be carving our websites onto stone slabs
CuLT is offline  
30-11-2007, 19:46   #5
BRENSH
Registered User
 
Join Date: Nov 2005
Posts: 67

Yeah I see where you are coming from. I can understand code very quickly. I have an inate ability to do this. I have spent about 6 months learning PHP to this point. Not enough on javascript. I am fairly well equiped. However my ability to plan a project is useless. Developing classes and so forth. Especially when tiering. I assume usning the zend framework would really improve the time on a project.

Is Zend the best framework out there. Should I use others.
BRENSH is offline  
Advertisement
30-11-2007, 20:17   #6
forbairt
Registered User
 
forbairt's Avatar
 
Join Date: Sep 2004
Location: Nantes
Posts: 3,447
personally I quite like cake ... its really up to you ..

Zend however has some form of commercial backing with the zend suite of software so the choice really is yours ...


I'm using Eclipse + Cake
forbairt is offline  
01-12-2007, 12:35   #7
louie
Registered User
 
Join Date: Apr 2003
Location: Dublin
Posts: 1,195
Send a message via Yahoo to louie
I prefer to create things from the ground up. This way if anything goes wrong I know where to look, but saying that, many times (e.g. blog) I used Open Source code as there is no need to invent the wheel again.

Time ... depend on the project - could be days, weeks or even months.

Last edited by louie; 01-12-2007 at 16:35.
louie is offline  
01-12-2007, 16:07   #8
BRENSH
Registered User
 
Join Date: Nov 2005
Posts: 67

Oh my impatience. I do realise it takes so damn long to develop a website. If I may deviate from the point can I ask which system do you use when developing. I am currently in the process of adopting a 3 tier system.

This seems the easiest way. Develop a couple of relevant application classes, a fully fledged DB class and a bit of (html + css + php) in the presentation layer.

Seems the most logical route.

I am doing it for my new improved radioportal. Development time seems to have reduce 10 fold.

What do you all think.
BRENSH is offline  
01-12-2007, 17:49   #9
zardette
Registered User
 
zardette's Avatar
 
Join Date: Dec 2004
Location: Ireland
Posts: 52
Send a message via Skype™ to zardette
Hi Brensh,

When developing a project, it can be better practice to model your system in a language independent form.

How did you capture your project requirements?

Why have you chosen a database over a flat text file or xml - sometimes simple is better.
However, if you determine that a database is more suitable to your needs, what type of one will you use.... Access, mySQL? How will you model the entries and mappings of your database?

Why are you using PHP over ASP.NET ,jsp or other web development languages..... what’s are your motivations for the choice of language?

..and if you use other peoples code please test it esp if its source from the internet... It may seem to have the functionality you need but alot of source code out there isn't fully tested and is bug ridden!

(oh and btw your are not cheating its called "software re-use"!)
Z
zardette is offline  
Advertisement
02-12-2007, 19:19   #10
The Corinthian
Moderator
 
The Corinthian's Avatar
 
Join Date: Jun 2001
Location: The 2nd Circle of Hell
Posts: 14,541
Two points; first what do you mean by a social networking site? A bulletin board application? A Bebo-type home page directory? a networking or dating site?

The term social networking is a bit of a cliche at this stage, with some being relatively simple in design and others being far more complex - meaning there is no 'one answer fits all' to your question.

Second point I would make is while one should not have to go and reinvent the wheel, neither is there much point in also being a copy cat. If you reuse (modified) code, you're simply going to end up just being much the same as the other guys using the same software - albeit with perhaps a sightly different angle. At the very least it will bring down the value of your long term IP.
The Corinthian is offline  
03-12-2007, 13:19   #11
BRENSH
Registered User
 
Join Date: Nov 2005
Posts: 67

Lets say the application is going to be advanced. Thats all I am going to say about it. Need to learn a bit more about architecture though.

When developing programs do you all use MVC (model view controller) concept or are there other types of architecture out there.

Thanks.
BRENSH is offline  
03-12-2007, 13:25   #12
forbairt
Registered User
 
forbairt's Avatar
 
Join Date: Sep 2004
Location: Nantes
Posts: 3,447
Maybe find yourself a copy of ...

http://www.oreilly.com/catalog/hfdesignpat/

it makes for some interesting reading
forbairt is offline  
03-12-2007, 23:25   #13
zardette
Registered User
 
zardette's Avatar
 
Join Date: Dec 2004
Location: Ireland
Posts: 52
Send a message via Skype™ to zardette
just a note on design patterns: while they are a good design practice,often a novice programmer (like myself) can force-fit them into a software design where there is no need for such complexity, and makes the solution more complicated. a bit like applying an Object Oriented Solution when a simple procedural programming might be a more optimal solution.

For me they just seemed to be very complex to understand but maybe thats just the book I used although the girl on the cover of that book seems a bit confused to me too......

I think they are something to consider when you have been exposed to using OO programming in larger projects, and are confident using them.

This article maybe of use too
http://www.perlmonks.org/?node_id=402070


Z
zardette is offline  
Post Reply

Quick Reply
Message:
Remove Text Formatting
Bold
Italic
Underline

Insert Image
Wrap [QUOTE] tags around selected text
 
Decrease Size
Increase Size
Please sign up or log in to join the discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search