Becoming a better programmer: one new technology per month
I have been trying to do this for quite sometime but it was hard for keep it, specially when there are a lot of pending work stuff. The idea is to learn a new technology per month. It can a framework, a programming language or a concept. It doesn’t matter. The main idea is to keep […]
Exporting PowerDNS zones to Cloudflare: AXFR mode
Cloudflare does its best to detect all DNS records on your domain but if you have a complex setup with uncommon subdomains it won’t detect everything. You can import your DNS records by uploading a BIND zone file, unfortunately you might be using another server like PowerDNS. One way that I found out is to […]
Testing Focus@Will
Three days ago I found out about about this amazing service called Focus@Will. It’s a service that promises to improve your focus while working by using the right music ( more info at their FAQ ). It’s a bit earlier for any permanent conclusions but just after the first section I started to get some […]
Rails Admin: creating a custom action
Rails Admin is an excellent way of quickly creating a backend for your website. It’s simply perfect for that project that is focused on frontend but you still need a backend to do simple management tasks. Although it’s very complete, sometimes you may want to customize a few things and for this you can create […]
Paperclip: how to move existing attachments to a new path
I made the mistake of using the default Paperclip url/path for multiple models, which is problem if an user upload a file with the same name and id, causing a conflict. Also, using the same directory for different models is kind of messy. Here are the steps that i took to fix this problem:
Uncaught exception ‘Zend_Application_Resource_Exception’ with message ‘Bootstrap file found for module “default”
Getting this error after moving your ZF application to use modules? Fatal error: Uncaught exception ‘Zend_Application_Resource_Exception’ with message ‘Bootstrap file found for module “default” but bootstrap class “Default_Bootstrap” not found’ This usually happens if you declare your controllerDirectory on Front Controller before defining a different defaultModule. Something like this on application.ini: resources.frontController.controllerDirectory = APPLICATION_PATH “/controllers” resources.frontController.defaultModule […]
Starting to use github
From now on, i will be using github to post the code used on all tutorials. I am still learning more about git, but it seems like a great tool 🙂 Here is the repository for all blog tutorials: http://github.com/fernandomm/Blog-Tutorials
How to identify the Zend Framework version?
Quick tip today. If you need to identify the current Zend Framework version use: Which will result in something like this: 1.10.8. Or open file Zend/Version.php and verify constant VERSION.
Using Zend_Service_Twitter and Zend_OAuth
ZF Version: 1.10.8 The source code of this post is available at GitHub. At this short tutorial i will show to how use Zend_Service_Twitter and Zend_OAuth. I’m considering that: You have a working ZF environment. You have registered your application at Twitter.com and have the consumer key and secret. I won’t get into the details […]
Recent comments