klunde.net
Zend_View and base paths outside the application directory | Kristian Lunde
http://www.klunde.net/2012/02/01/zend_view-and-base-paths-outside-the-application-directory
Zend View and base paths outside the application directory. The easiest way of resolving this is to add the full path to the directory like this:. APPLICATION PATH . '/views/././themes/my-theme/';. The example below is from my Bootstrap file:. Protected function initView() {. View = new Zend View();. View- setBasePath(APPLICATION PATH . '/views/././themes/my-theme/');. ViewRenderer = new Zend Controller Action Helper ViewRenderer();. Zend Controller Action HelperBroker: addHelper($viewRenderer);.
klunde.net
Zend | Kristian Lunde
http://www.klunde.net/tag/zend
Archive for the ‘Zend’ tag. Zend Input Filter and the Alnum Validator. The Zend Input Filter. Is a very useful tool when you need to validate and filter the input to your application. It allows you to both filter and validate the input without a lot of hassle. One of the cool features it has is that it allows you to add the validators you need and meta commands to each validator. For instance you can set an Alnum. Validator to allow empty fields, set a default text and so on. Says that you can do this:.
klunde.net
The big move | Kristian Lunde
http://www.klunde.net/2010/06/19/the-big-move
There is a lot of things going right now. We ( @ramonahz. My daughter and myself) have decided to move back to Norway. We have thought about this for a while now and finally made the decision a few weeks ago. The main reason for moving back is that we want to be closer to our family, and not restrict our daughter to only see her grandparents a few times a year. Be Sociable, Share! Written by Kristian Lunde. June 19th, 2010 at 6:00 pm. Posted in Real Life. Laquo; CentOS, where is all my memory gone? You a...
klunde.net
AmazonS3 | Kristian Lunde
http://www.klunde.net/tag/amazons3
Archive for the ‘amazonS3’ tag. Automated backups with Amazon S3. I recently decided that I my half hearted backups to an external drive wasn’t really good enough, so I started to look at alternatives. Note, this howto is for Mac and *nix system, if you need a windows version please try to google it. I tried Crash plan. Considered a extended dropbox. Plan but none of them seemed like the correct solution (still I love dropbox, its a great app). I ended up registering an Amazon S3 account. Once that was i...
klunde.net
JetS3t | Kristian Lunde
http://www.klunde.net/tag/jets3t
Archive for the ‘jetS3t’ tag. Automated backups with Amazon S3. I recently decided that I my half hearted backups to an external drive wasn’t really good enough, so I started to look at alternatives. Note, this howto is for Mac and *nix system, if you need a windows version please try to google it. I tried Crash plan. Considered a extended dropbox. Plan but none of them seemed like the correct solution (still I love dropbox, its a great app). I ended up registering an Amazon S3 account. Once that was in ...
klunde.net
Programming | Kristian Lunde
http://www.klunde.net/category/programming
Archive for the ‘Programming’ Category. Zend View and base paths outside the application directory. The easiest way of resolving this is to add the full path to the directory like this:. APPLICATION PATH . '/views/././themes/my-theme/';. The example below is from my Bootstrap file:. Protected function initView() {. View = new Zend View();. View- setBasePath(APPLICATION PATH . '/views/././themes/my-theme/');. ViewRenderer = new Zend Controller Action Helper ViewRenderer();. Written by Kristian Lunde.
klunde.net
Web Development | Kristian Lunde
http://www.klunde.net/category/web/web-development
Archive for the ‘web development’ Category. Zend View and base paths outside the application directory. The easiest way of resolving this is to add the full path to the directory like this:. APPLICATION PATH . '/views/././themes/my-theme/';. The example below is from my Bootstrap file:. Protected function initView() {. View = new Zend View();. View- setBasePath(APPLICATION PATH . '/views/././themes/my-theme/');. ViewRenderer = new Zend Controller Action Helper ViewRenderer();. Written by Kristian Lunde.
klunde.net
Automated backups with Amazon S3 | Kristian Lunde
http://www.klunde.net/2011/05/21/automated-backups-to-amazon-s3
Automated backups with Amazon S3. I recently decided that I my half hearted backups to an external drive wasn’t really good enough, so I started to look at alternatives. Note, this howto is for Mac and *nix system, if you need a windows version please try to google it. I tried Crash plan. Considered a extended dropbox. Plan but none of them seemed like the correct solution (still I love dropbox, its a great app). I ended up registering an Amazon S3 account. Which describe how to use jetS3t. 1 Create a sc...
klunde.net
Review: PHP5 Social Networking | Kristian Lunde
http://www.klunde.net/2011/05/06/review-php5-social-networking
Review: PHP5 Social Networking. Contacted me couple of months back, asking me if I was interested in reviewing “PHP5 Social Networking”. The title intrigued me as I’ve built several social networking applications and I was interested in seeing Michaels approach to this. The first chapter starts by defining social networking, it looks at the most known social networks out there. It also reviews available social network software out there such as Elgg. All social network sites need to get users and hopeful...
klunde.net
Zend_Validate_Alnum | Kristian Lunde
http://www.klunde.net/tag/zend_validate_alnum
Archive for the ‘Zend Validate Alnum’ tag. Zend Input Filter and the Alnum Validator. The Zend Input Filter. Is a very useful tool when you need to validate and filter the input to your application. It allows you to both filter and validate the input without a lot of hassle. One of the cool features it has is that it allows you to add the validators you need and meta commands to each validator. For instance you can set an Alnum. Validator to allow empty fields, set a default text and so on. Mdash; Built ...