Home / The A2 Posting

The A2 Posting

PHP Devs: Do You Still Inline Your HTML?

I'm surprised whenever I look at recently written PHP and see folks are still writing their HTML inline with their code. Perhaps it's because so many PHP tutorials teach this style, or maybe people just aren't aware of the advantages of separating it out. If you still write this way, feel free to comment on why. I'll try to explain the advantages of separating it out here. I won't get into the details of Model-View-Controller programming here, see that Wikipedia article or a blog post I will probably eventually do about it. But for now I will just plead that you separate out your display HTML from your functional PHP code.

Read More »

Buy A Hosting Package. Plant 3 Trees.

April 22nd may officially be Earth Day, but A2 Hosting is celebrating all month. In collaboration with CarbonFund.org, when you purchase any new hosting package during the month of April, A2 Hosting will plant 3-trees on your behalf! We do offer FutureServe Green Hosting after all and are 100% carbon neutral! We're also based in Ann Arbor, MI (AKA Tree Town), the home of over 50,000 trees and over 150 parks!

Read More »