Tuesday, October 30, 2012

Zend Framework 1 and Zend Framework 2

Zend, a PHP company, released Zend Framework 2 stable version recently and I started working on some projects using Zend Framework 2 right after it came out.
I've been working on Magento(an E-Commerce platform that is built on top of Zend Framework 1) for last 4 years.
At the time I started working on Magento, I knew what Zend Framework was but never had any experience with it.
I had more experience with CodeIgniter and I thought CodeIgniter would be a better platform for its simplicity.
However, after I worked on Magento for several months, I became a big fan of Magento and Zend Framework.
Of course, I've been struggling for first couple weeks because of its complexity - I wasn't familiar with Singleton pattern and EAV model.
Now I have more favor on Zend Framework over CodeIgniter.
I would say Zend Framework is complex and difficult to learn than any other PHP frameworks out there, but I think it's the best framework on the market right now.

Features and concepts overview on ZF1 and ZF2:

Main features on Zend Framework 1:

  • MVC(Model View Controller) architecture

  • Singleton

  • Registries

  • Hard & Soft coded Dependencies

  • Loosely coupled architecture



 

Zend Framework 2 resembles Zend Framework 1 in many ways, but it works differently.

Main features on Zend Framework 2:

  • Event Driven Services - Event Manager & Service Manager

  • Dependency Injection - to avoid dependencies, ZF2 uses events

  • Aspect Oriented Programming - shape the workflow using event manager

  • Namespaces - requires PHP 5.3

  • Lambda functions

  • developers can install only the components desired - don't need to install entire framework



 

Useful resources on ZF2:

Wednesday, October 17, 2012

Richard Dawkins at Macky Auditorium

I was at Macky Auditorium(University of Colorado at Boulder) to see evolutionary biology icon and one of my favorite scientists - Richard Dawkins - Monday night.
Dr. Dawkins was there to have a speech/lecture on very basic natural world questions - but very hard for ordinary people to answer - such as What are things made of? What is reality? Why do bad things happen? Are we alone?, etc.
His explanations are all evidence-based, precise and accurate. His book "The Magic of Reality" is even more descriptive and well explained, even middle school kids can understand.
It was just amazing to see him having a speech in auditorium and also in person at the book signing session.
He looked little older than I imagined, but maybe that's because I only have seen his old photos and movie clips.


Sunday, October 14, 2012

새로운 디자인

새로운 디자인으로 블로그를 바꿨다.
이미지 사이즈가 엄청 큰걸 요구하지만 그래도 사진 갤러리가 제일 맘에든다.
여전히 사진 작업해야 할것들이 조금 남아있고, 다른것들은.. 맘에 들지 않거나 제대로 작동하지 않는것들이 몇가지 있는데.. 그것들은 천천히 하나씩 고치기로 하고..
일단 오늘은 이걸로 끝.