Personal Development for Smart People Forums

Personal Development for Smart PeopleTM Forums


Go Back   Personal Development for Smart People Forums > Personal Development > Technology & Technical Skills
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Technology & Technical Skills Computer skills, hardware, software, internet topics, gadgets, programming


Welcome to the Personal Development for Smart People Forums, the place for lively, intelligent discussion of all personal growth issues -- physical, mental, financial, social, emotional, spiritual, and more.

You're currently viewing as a guest, which gives you limited read-only access. By joining our free community, you'll be able to post your own messages, access many members-only features, see the new messages posted since your last visit, and of course remove this header message. Registration is fast, simple, and free, so please join today.

If you arrived here from a search engine, you may want to explore the main site first, which includes hundreds of deep and insightful articles on a variety of personal development topics.
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-13-2008, 06:37 PM
Senior Member
 
Join Date: Nov 2006
Posts: 754
Lauxa is on a distinguished road
Default Understanding source code

Hi there everyone, I hope there are a few programmers out there who can relate to this question and give some advise!

I just got handed an application that is in the beginning stages of development. It is a php application based off the Zend Framework. I need to learn what is there so that I can start adding features based loosely off some design documents from a couple of years ago.

What techniques would you use to quickly digest the basic workings of a large source code base?
__________________
~Lauxa~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-13-2008, 10:00 PM
Senior Member
 
Join Date: Nov 2006
Posts: 108
ragtag is on a distinguished road
Default

If the code is documented or uses some auto documentation, that would be where I would start reading.

I think I would try to read it in the order it executes. Start with the index.php, see what functions it calls and so on. I've set-up a webshop using Joomla and VirtueMart, where I had to modify a lot of code and add some of my own plug-ins, but I mostly did these one at a time. Figuring out where and how the part of the code that needed fixing/modifications worked, and fixed that. Then moved on to the next problem. Eventually I began getting a little familiar with the code, how they did things and where to find stuff, but I must admit it was a rather painful experience.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-14-2008, 04:09 AM
Senior Member
 
Join Date: Nov 2006
Location: NM, USA
Posts: 781
Dharma is on a distinguished road
Send a message via AIM to Dharma Send a message via Skype™ to Dharma
Default

First figure out if it's object oriented or straight code.

If it's OO, a sweet editor like intelliJ will help wonders. You'd need a PHP plugin for it. It looks like some are in development.

Some kind of IDE/editor which helps you look through the code is best if you don't have a lot of time to inspect the code yourself.
__________________
--There's nowhere to go, nothing to do.

My blog which I haven't updated in a long time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-20-2008, 10:34 PM
Member
 
Join Date: Aug 2008
Posts: 31
pokilty is on a distinguished road
Default

I usually play around with the system to get a feel for it. Then I look for parts that are crucial that will help me understand how things are connected. When I'm ready to look in the code, I pick a specific major feature to look out for and try to think about how I would program it. Almost every time, the way it is programmed is similar to what I envision, and so it really helps me identify key code structures pretty fast. After that, it's a matter of bouncing around to whatever interests me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
part of source or source itself? wolfgang Erin Pavlina 1 03-27-2008 02:28 PM
The Genius Code tbushmoney Personal Effectiveness 1 01-17-2008 09:29 PM
How to sell source code? dci0705 Technology & Technical Skills 2 11-28-2007 06:58 AM
Is there a code of ethics for psychics? Aphrodite Erin Pavlina 2 04-09-2007 07:32 PM
html help webpage code MattUK Technology & Technical Skills 3 11-20-2006 01:18 PM


All times are GMT. The time now is 11:33 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 by Pavlina LLC