Current location: Hot Scripts Forums » Programming Languages » PHP » How Do You Go About It ???


How Do You Go About It ???

Reply
  #1 (permalink)  
Old 02-20-08, 06:06 AM
davestar057 davestar057 is offline
Wannabe Coder
 
Join Date: Dec 2007
Posts: 113
Thanks: 1
Thanked 1 Time in 1 Post
How Do You Go About It ???

Hello,

Just another interesting thought and would like your opinions.

When you want to create an application.........such as CMS, or maybe Real Estate web site etc.....these are just top of my head examples........how would you go around creating this?

Do you always create your scripts from top to bottom, or do you go out and find a similar script and then adapt it to your needs.....just to save you messing about with the very basic bare bones of the whole script(s)??? No point re-inventing the wheel, right?

Discuss
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-20-08, 06:21 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
The code I use on my sites is all made by me. I only use three 3rd Party scripts:

Generally, I don't like working with 3rd Party apps. No matter if I'm reinventing the wheel, I prefer working with my own code. The only reason I use the scripts above is because it'd be a lot of work to make something better (Whereas I think it's impossible to make a templating engine better than Smarty, or a forum software better than vBulletin).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 02-20-08, 06:24 AM
Jay6390's Avatar
Jay6390 Jay6390 is offline
Code Master
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,330
Thanks: 0
Thanked 0 Times in 0 Posts
I agree with Nico. The best code you can use is your own. Its more familiar, so therefore you know what it is that you are looking for if something needs alteration. Also, its good practice to learn. Once you have created a script yourself, you have that in your repository and can adapt your own code to suit your needs

Jay
__________________
Useful Tutorials
[ PHP Video-1-2-3 ] [ MySQL 1-2-3 ]
For any php function reference type

www.php.net/FunctionName
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 02-20-08, 07:19 AM
davestar057 davestar057 is offline
Wannabe Coder
 
Join Date: Dec 2007
Posts: 113
Thanks: 1
Thanked 1 Time in 1 Post
Whats Smarty? I am interested in knowing more .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 02-20-08, 07:34 AM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
Nico's post contains a link to the smarty web site.

Its a template system.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 02-20-08, 09:08 AM
Deansatch Deansatch is offline
Coding Addict
 
Join Date: Jul 2006
Location: Northumberland
Posts: 375
Thanks: 0
Thanked 0 Times in 0 Posts
I find that I can write my own full cms sites from start to finish in about half the time it takes me to find the file I need to alter in mambo.
__________________
Aye!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 02-20-08, 09:30 AM
TenFormer's Avatar
TenFormer TenFormer is offline
Newbie Coder
 
Join Date: Jan 2007
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Deansatch View Post
I find that I can write my own full cms sites from start to finish in about half the time it takes me to find the file I need to alter in mambo.
That's probably not true. Noone can write a cms as quick as reading a documentation or SDK or just the code.

But I still have to agree, own code is better then alien stuff.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 02-21-08, 08:06 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by mab View Post
Nico's post contains a link to the smarty web site.
Mab, would you please click the link for him so he can get to the site?
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 08:53 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.