OOP is very easy to learn once you learn some bits its basically all the same BUT! its a little harder to learn than basic php tbh.but i gave in coz of lack of time i had its very intrestin.
OOP is very easy to learn once you learn some bits its basically all the same BUT! its a little harder to learn than basic php tbh.but i gave in coz of lack of time i had its very intrestin.
It isI love using classes now, makes things md5("6000000000000000000"); times easier
Yes.gl
http://www.geocities.com/tablizer/oopbad.htm
http://www.devx.com/opinion/Article/26776/0
You can find some good books on tech review sites. A Smalltalk book is nice way to learn, or a book on paradigms and design patterns.
(define (reduce f)((lambda (value) (if (equal? value f) f (reduce value))) (let r ((f f) (g ())) (cond ((not (pair? f)) (if (null? g) f (if (eq? f (car g)) (cadr g) (r f (caddr g))))) ((and (pair? (car f)) (= 2 (length f)) (eq? 'lambda (caar f))) (r (caddar f) (list (cadar f) (r (cadr f) g) g))) ((and (not (null? g)) (= 3 (length f)) (eq? 'lambda (car f))) (cons 'lambda (r (cdr f) (list (cadr f) (delay (cadr f)) g)))) (else (map (lambda (x) (r x g)) f))))))
If you are intrested in OOP with PHP then I recommend the book:
"PHP5 Objects, Patterns, and Practice" by Matt Zandstra (Apress publishing).
I will look for it at the bookstore next time I am there :0
Want to hide these adverts? Register an account for free!