November 2, 2010
OOP Stock Portfolio
An investor has to keep track of his portfolio. I generally dislike the tools available in the market so, being a software developer, I roll my own. My current tools are terribly out of date. My main porfolio tool is a FileMaker Pro 4.0 database that runs under Classic Finder 9 which will not be supported by Apple beyond Mac OS X v10.4 Tiger, my current OS. Since I'm no longer developing FileMaker Pro databases, I'm not going to spend the money on the newest version of FMP. Before I can get a new Mac I have to have new portfolio software. Frankly, I'm lusting after one of the new MacBooks to replace my iBook G4!
On a couple of occasions I have tried to write a php based portfolio web-app and it turned out to be more difficult than expected. With that experience under my belt I'm giving it a new try but this time using OOP instead of procedural code. I started doing the research a few days ago. See the links below my signature.
While I have written a few OO Classes, I have never developed a complete web-app using OOP. At this point it seems I'm going to have a class for each database table as suggested by Tony Marston and one class for each web page as suggested by samanime at SitePoint. I started experimenting with the data classes yesterday. I think I can get started with three data classes as an experiment: Company, Sector and Industry.
SitePoint forum thread: OO Web-app Design
Tony Marston's Object-Oriented Programming for Heretics