Since I work on a local development machine/server, I’ve never taken the time to set up mail yet, nor do I want to. I think a staging environment is more appropriate to actually have email being sent out. Nevertheless, it has made testing any email functionality a little cumbersome. I’ve done a little research, and have found two ways to tackle the problem. I’ve also included code samples and other resources to get you started. Read more…
If you are working with multiple connections, you must specify the connection to mysql_insert_id(). Unlike other functions, it does not attempt to use the last opened connection, but instead fails returning false. Hopefully this helps someone else is as confused as I was last night.
Over the past few years I have checked out many of the popular PHP frameworks out there. The three I did the most development with were CakePHP, CodeIgniter and Zend Framework. Each one has fills a very different set of needs, and I think most people do not understand that. People seem to take framework reviews very personally for some reason as if its a reflection of their ability.
Addressing Your Needs
To oversimplify things, it’s easy to map your role with some of the different frameworks. I choose these three, because they represent my point very well. I’m going to fudge the definitions a little bit here, and toss WordPress (or ‘insert your favorite CMS here’) into the mix as well. While the mapping may be an oversimplification, remember that the particular role’s core needs may match your needs for a project, even if you fit another role. Read more…
Disclaimer: in a production environment, spend the extra time and resources to meet Magento’s requirements. This post is about setting up a development environment.
I have had one hell of a time trying to get Magento up and running on my development server. I have probably spent about 5 hours fighting with mcrypt and for some reason, it is just not playing nicely with my setup (PHP 5.3, with everything compiled manually). I brought in a server guru as well, and he had the same problem. I think we both tore out some hair.
I’ve hacked together some steps to get it up and running for developers who want to get their hands dirty quickly. Read more…