PHP Developers: Pre-made state pulldown lists for HTML forms

I like to reuse code as much as possible and if there's underyling data in something I'll use again, I'll put that data in some extractable form in an EAV (Entity, Attribute, Value) database table so I don't need to maintain the data anywhere except one place. So in the example below where the variable…

In Symfony, moving some code from one bundle to another a simple way to modularize your code, reuse and scale. Oh yeah!

I recently ran into an issue where I found I was creating a new user profile system for different systems and then it occurred to my:  DRY.  DON'T REPEAT YOURSELF.  Yet, in the bustle of activity I realized there was too much in common with these user profiles to rewrite the code. So why not…

Isolating search engine crawlers for special limited site access and addressing surgical SEO concerns

Here's how you can allow different search engine bot crawlers if you prefer to address them individually.  There might be some crazy reasons why which I try to explain below.  For some companies, it seems web developers often don't dev to create new web assets, they dev to squeeze any remaining SEO juice from their…

Check if Symfony PHP session has been started

Here's how you can check if a session in Symfony was started: Not a big fan of session variables, but used for non-sensitive session data, I think sessions are still useful.  After all, if you only want certain behaviors on your website tailored to a customer apply only while their browser is open on…

Creating a bootstrap Symfony project

By bootstrapping a Symfony project I am referring to creating a ready-to-go basic software package from which to build any projects from.  This also does include Twitter's awesome Bootstrap libraries as well. New project requires a well-designed database first The first thing I usually do with a new Symfony project is design the database.  I…