
What is the most important item you need if you have to build a house?
Yes, you have to find bricks and woods for materials. You have to find hammer and chain saw for tools.
And you know well, if you need to build just only a simple shelter, easy to build, you don’t have to serious. Just build it.
But if you need to build a tower or a condominium, which need a complex air-condition system and a 3-floors car park, you have to think again and again.
at this point, you know well, you have to “design” your blue print.
Object Oriented Programming is “how-to” design your system in the right way
As same as your system, in any programming language implementation (not only specific for Actionscript 3 and Adobe Flex), you need a blueprint to follow, to explain your colleagues about what you really want, and to let everything walk into same goal.
Yes, you need to know Object Oriented Programming (OOP).
As I give you an instance, the application (or system) you are building can be compared to building a house. The complexity it has, the good design you have to applied to it. You can imagine about a house that built without a blueprint. Sound terrible. but in the other hand, someone may call it “Creative”.
But you may asked (I found everyone often ask)
“Will it worth to adopt Object Oriented Programming in my project?”
I can share you 3 profits that I experienced here.
1. Easier to read and understand system
Back to a house’s blue print.
You know the good blue print should answer you immediately for every questions, such as “where is the restroom?” or “how long is the balcony?”
As same as your system, if you applied Object-Oriented Programming to your system, you will found your system’s architecture is easy to read and understand, like a good and clean blue print.
The other developer (yes, almost 85% in this blue planet) can see your “blue print” and understand what you are working on easier.
You colleague can join you faster. They don’t need you to explain the whole system. Just some design that you may need to answer them. (You know, there is someone doesn’t understand your superior design, always)
What you get is less time consuming in your project and better communication, sound sweet, isn’t it?
2. Reuse your design (and your code)
You has no need to work on what you already done again.
I will give you an instance…
In a house project, you have to build everything from the ground, right? You design a blue print of this house and after you finished this house building. You got another new house project. What will happen?
…You design the whole new blue print for this project again and you will repeat this activity again and again for other project.
Let’s change it.
You found that you can design each room separately before you can “connect” each blue print into a house.
and in other project, you found that you has no need to design the whole new room, or house. You found you already has this kind of restroom and bed room in your design already. What will happen?
You just use the exist room’s blue print. No need to work on it again.
This is the same benefit you will get from applying Object Oriented Programming into your project. If you design your system correctly, and can be separated into “part” or “module“. Your system will become “reuse“.
You just reuse it. No need to crazy on it again. Just use it.
3. Your system will be extended, easily.
In Object Oriented Programming’s principle, it adopts the rule of “extendable”.
Think about your system is easy to be attached with new modules and connect with other system with no confuse.
For example, the system you built, work in field of financial. But when you has been asked from your client: “Could you do this thing for my condominium management?”. You just take a look on your well designed system and build new module upon it.
Easy as it get.
Think to start using Object Oriented Programming?
The fact is, if you already using the modern programming language, such as C#.NET, Java, or Actionscript 3, you already adopt the basic principle of Object Oriented programming.
What you have to do next is finding how to use it effectively. Whenever you success to applied OOP principle into your project or system design, you will feel less work, clean code, and the benefit you should get before.
If you need an instructor to host a training session in your organization and company, or for your institute and university about “Know and apply Object Oriented Programming” (not only for Actionscript 3 or Adobe Flex, it is also usable for C#.NET, Java, and PHP) You can take a look on detail in Training and Instructor or contact me directly via contact page.
![]()
How about your experience? Do you think OOP is good for your system design or not? and how did you use it in your project? let share with me below.
