Current location: Hot Scripts Forums » General Community » The Lounge » How do you code?


How do you code?

Reply
  #1 (permalink)  
Old 06-24-09, 06:20 AM
phpdoctor's Avatar
phpdoctor phpdoctor is offline
Code Guru
 
Join Date: Feb 2007
Location: New Zealand
Posts: 767
Thanks: 4
Thanked 2 Times in 2 Posts
Spin How do you code?

Hi,

What I mean by this is:
How do you structure your files/folders?
Have you created a framework?

Iv created a framework using the mvc pattern and have a folder structure similar to zend framework. (PHP)

Tell me about how you code Dont tell to many secrets hehe

Lex
__________________
01010000 01001000 01010000
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 06-28-09, 03:58 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
I use standard names for directories that I use for specific items (image, util, etc). I use a basic set of skeleton files for the header, content, and footer and modify each set for whatever site I build. I standardize on a set of components for various things (login system, javascript utilities, etc) to make it easy to update multiple sites if needed by just dropping in the new version of a file or files.
__________________
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
  #3 (permalink)  
Old 07-13-09, 02:46 PM
Boraan's Avatar
Boraan Boraan is offline
Coding Addict
 
Join Date: Jul 2007
Location: Clayton, NC
Posts: 292
Thanks: 0
Thanked 1 Time in 1 Post
There isn't much to it. How do I code? text editor. I'm old-school. I was trained on notepad and a command prompt. Yup, I'm a linux-head command line master My primary languages are C/Perl/ASP - I did use Python and Ruby on Rails back in the day but there isn't much call for it today. I did start to use PHP but ultimately, I found that PHP was just another way of doing the same thing so I went back to perl.

When planning out development projects everything comes into play. Networking, access needs, etc. I usually plan first public access areas like static pages, images, etc. As they will have the most direct traffic, I put them in an area away from everything else, like /public/ folder.

I follow the same methodology with other things as well. Private access have it's own area, applications have their own etc. One of my heirarchy's may look like this:

Root:
|_ home
.....|_ public
.....|_ private
.....|_ shared

Doing it that way I can effectively monitor traffic, bottlenecks, access, security risks, etc.
__________________
Dexter Nelson
Techdex Development & Solutions
========================
Internet Marketing For Programmers | Free Market Research in 15 Minutes or Less
My Software: Hotscripts Softpedia software.techdex.net
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need captcha for html+php contact form sujata_ghosh PHP 6 03-22-09 04:46 PM
Need help finding PHP code errors Elle0000 PHP 4 10-08-06 02:31 PM
HTML code file update on the webserver using CGI script sujata_ghosh Perl 31 07-06-06 04:06 AM
Explanation of Code... Please davidk19380 Perl 1 02-26-06 02:50 PM


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