OOP
- Started
- Last post
- 26 Responses
- thebottlerocket0
Mooks site has a few bits and pieces about design patterns:
Specifically MVC
http://www.moock.org/lectures/mv…but also a good intro to patterns:
http://www.moock.org/lectures/in…
- vcr0
wtf
- neverblink0
start out with functions after that, stuff like classes and prototypes
- ephix0
i know what you're saying. i learnt by messing around and getting things working on my own terms. you want to know how to do it properly?
- moth0
I'm a PHP programmer, which I'm beginning to see is contradiction in terms. It's not a true programming language.
We built peoplesmusicstore.com with Ruby on Rails, in about 3/4 months. I would expect with PHP it would have taken at least double that.
Ruby+Rails is a true oop set-up, and will force you into good habits - and I'd wager you'll demand a lot more cash with it too. It's where the smart money is...
- I'm still learning rails by the by. I picked up a lot of bad habits with php...moth
- this world is all about object oriented c-languages family, which all web, all php, javascript, actionscript aredrgss
- dont believe the hype
http://www.oreillyne…drgss
- klipklap0
@ehpeix
yeah, I've been getting things to 'just work' for a while now. and I want them not only to work, but work well and be modular. I've started reading books on design patterns, but having a hard time connecting the textbook examples to real life applications and use.
know what I mean?
- Raniator0
Are you printing it out in braille? That isn't supposed to be smooth...
- moth0
Oh yeah.
The down side to Ruby+Rails is that it's practically impossible to set up a development environment on a PC - except via virtual machine.
This is currently leaving me with the nasty prospect of buying a mac, or running linux.
- ephix0
i know what you mean, thats when i decided i didnt want to focus on web apps any more and just plain art direction and motion graphics. but i do know what you mean. if i were to go down that route id take some courses or get some serious coding books. dunno.
- yeah, i guess thats the choice i'll have to be making soon :)klipklap
- mightyj0
I've been told that UML can help with this.
- mia_free0
OOP, learn it. I dont know anything about it but every programmer I have ever met has told me the wonders of OOP.
- rson0
I took a C++ class after that every made sense and my code was more efficient.
- ephix0
that said, the knowledge of some coding concepts has come in very handy when directing others.
- thebottlerocket0
By coincidence, I am in that same boat at the moment.
My advice would be to pick on language and learn OOP through that. That should give you a good foundation and should be pretty quick. You then really need to look into books regarding Design Pattens after that.
- Thanks for the advice. I guess my language of choice is ruby. see you in a couple months :)klipklap
- flavorful0
Books?...
- Those thick things with pages in the middlethebottlerocket
- rounce0
@moth: RoR is slow as shit and breaks a lot of the guidelines of OOP, don't forget that... (DHH can suck my balls)
I found I truly reached OOP nirvana (well I really refined my game anyways) with codeigniter (http://www.codeigniter.com/). By being forced to use a nicely layed out OO/MVC system I got into the habit of working like that even when working in other languages.
Don't go overboard on the whole clean-code-OOP-maximum-portabili... thing. Small projects don't often need it, sometimes I find it easier to just code it from scratch in a day or two and usually end up with a more elegant solution than I had in my existing codelibrary which can then be updated with my new improved method.
Good luck, feel free to email if you need help with this, I've got lots of resources to help you get going (and candy, so get in my van)
- thebottlerocket0
Well I am doing AS3 stuff, so I would recommned Colin Mooks Essential AS3 Book.
http://www.amazon.co.uk/s/ref=nb…
For design patterns, I would look at:
http://www.amazon.co.uk/ActionSc…
- moth0
I don't think you can talk about guidelines and php in the same sentence rounce. I think you may have overlooked something in Ruby.
- skelly_b0
I liked this one: http://www.amazon.co.uk/Advanced…
more concise than the O'Reilly book on the same topic. The Moock book always helps too.OOP is an abstract idea I think you have to strive for. I've noticed each of my AS3 projects gradually moves in that direction as I learn more efficient ways to break my projects up into classes.
Beyond that you need to get ahold of other people's source code and see how they are setting things up.