Showing posts from 2011

Subdomain module mapping with Zend Framework

Here is a very simple config to map a subdomain to a module with Zend Framework: Samples: Going will route to resources.router.routes.module.type = "Zend_Controller_Router_Route_Hostname" resources.router.routes.module.route = "" resources.router.routes.module.defaults.module = "www" resources.router.routes.module.chains.index.type = "Zend_Controller_Router_Route" resources.router.routes.module.chains.index.route = ":controller/:action/*" resources.router.routes.module.chains.index.defaults.controller = "index" resources.router.routes.module.chains.index.defaults.action = "index" Just add this to your application.ini

Macbook Pro 2011 Review

Update: After owning it for about 2.5 years I found out that this is actually a flawed mac model which apple has not admitted yet. There are thousands of discussion posts happening on these models with failing gpu / discrete graphics that causes it to blue screen or not pass grey screen just after the logo. A temporary fix that I do is use gfxCardStatus and set it to only use integrated graphics and it's still usable for now, but a lot of people can't pass the gray or blue screen which makes their macs brick. Until apple won't do recall or admit and replace their failed product this is probably my first and last mac. Beware also that this happened to one my friends earlier model and with another with later model. Here are links on the discussions about this: