Experts Round Table Network
Navigate
Home
ArticleWiki
Forum
Newsletter
Links
Tech News
Welcome Guest.
Username:
Password:
Remember me
Forgot your password?
Register
I understand Classes, Objects etc but find difficult to write OO applications
Welcome,
Guest
. Please
login
or
register
.
March 12, 2010, 11:50:12 AM
11478
Posts in
1259
Topics by
496
Members
Latest Member:
AbeliaCaruso
Home
Help
Search
Login
Register
Experts Round Table Network
|
Serverside Technology
|
PHP
|
I understand Classes, Objects etc but find difficult to write OO applications
« previous
next »
Pages:
[
1
]
Print
Author
Topic: I understand Classes, Objects etc but find difficult to write OO applications (Read 937 times)
thepreacher
Offline
Posts: 79
I understand Classes, Objects etc but find difficult to write OO applications
«
on:
December 27, 2008, 01:03:32 PM »
I have mostly been self taught when it comes to programming. I first started with COBOL (no, it doesn't give my age away. It just happens that the guy who got me interested in programming was a COBOL programmer and that was the language he got me started on. Then I got into HTML, JavaScript, and then PHP. I have bought quite a few books of software engineering and programming and as most of the books i bought used C and C++ as examples that led me to get myself acquainted with those languages as well but not to any deep level.
I know what a class is, encapsulation, inheritance, destructors, constructors, objects, pass-by-reference and by-value etc. But give me a specification and application I will turn out will be procedural to a large degree. I know about entities (anything that can have more than one occurrence may be classified as an entity).
Can someone help me or direct me to a book that can help me learn how to break a specification down into its modules, class’s entities, database-tables etc.
My main language is PHP btw. Thanks and God Bless.
Logged
VGR
Mentor
Offline
Posts: 715
Re: I understand Classes, Objects etc but find difficult to write OO applications
«
Reply #1 on:
January 09, 2009, 03:39:39 PM »
in the spec, or from the spec, you should be able to deduce an entity-relation schema. This will be the basis of your OO approach. Personally, I find "good" programming (ie, structured programming) more efficient than OOP. My advice is to use OOP only when needed. For instance, if your spec doesn't describe a system where entities are derived from basic types (ie, classes) and don't share (ie, inherit) attributes, then it's pretty pointless to use OOA/OOD. Use normal structured design techniques. You'll save a lot of your time. regards
Logged
techie overlord, answers all kind of questions on
http://www.europeanexperts.org
Pages:
[
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
ERT 1.5
-----------------------------
=> Round Table Learning Center
=> Bug reports
-----------------------------
Legacy
-----------------------------
=> The next level
=> History of ERT
-----------------------------
Community Affairs
-----------------------------
=> Introductions
=> Ballot Box
===> Closed Polls
=> Soapbox
===> 2006
=> Propose and Consult
===> Propose and Consult...CLOSED
-----------------------------
Bits and Bytes
-----------------------------
=> Tips, Tricks, Snippets, Tidbits And General Pearls Of Wisdom
-----------------------------
Serverside Technology
-----------------------------
=> PHP
=> ASP
-----------------------------
Webservers
-----------------------------
=> Apache
=> IIS
-----------------------------
Databases
-----------------------------
=> MySQL
=> Access
=> MS SQL Server
-----------------------------
Clientside Technology
-----------------------------
=> HTML
=> CSS
=> Javascript
=> Flash
=> WAP/WML
-----------------------------
Web Technologies
-----------------------------
=> General Web Dev
=> Web Standards
=> XML
=> Online Marketing
-----------------------------
Graphics
-----------------------------
=> Graphics Design and Animation
-----------------------------
Programming
-----------------------------
=> .NET
=> JAVA
=> MS DOS Batch Scripting
=> Mathematics
=> C & C++
=> VB
=> Delphi
=> Algorithm design
-----------------------------
Operating Systems
-----------------------------
=> Windows (General)
=> NT Based (2K, 2K-03, NT, XP, Vista)
=> Open Source (All)
-----------------------------
Hardware
-----------------------------
=> Hardware General
===> 2006
===> 2007
=> Gamers Hardware (Advanced)
-----------------------------
Networking
-----------------------------
=> Home (small)
=> Office (large)
=> Internet
-----------------------------
Security
-----------------------------
=> General Security Issues
-----------------------------
Rants/Opinions/Proposals
-----------------------------
=> Site operation
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Joomla Bridge by
JoomlaHacks.com