Archives For MySQL

I’ve been trying to write more about Web development security lately, in part because I’m going to be writing an “E-Commerce with PHP and MySQL” book this summer, so security is at the top of my mind. [intlink id=”1009″ type=”post”]In a previous post[/intlink], I made some suggestions as to how one develops and tests a site from a security perspective. Here I want to cover security as a general philosophy, so you understand that approach I take (and, therefore, the approach I would recommend you take). When I explain things, I think in terms of analogies. I’m pretty sure they don’t always work or help, but still, it’s what I do. And the analogy I have for Web site (or application) security is: Security is Next to Godliness. Which is to say, think of security the way you might think about cleanliness. Continue Reading…

I StumbledUpon this article titled Making a Cool Login System with PHP, MySQL, and jQuery. It’s very slick, with a panel that slides down for the users to login or register. The article includes the complete code and a demo version. I like this approach—a separate login panel—because logging in is common to most sites but also something the user only does once per session at most, so it’s best not to take up screen space with a login form.

Yii Framework Version 1.1

February 26, 2010

A significant upgrade to the Yii framework—1.1—came out in January, just over a year after the original 1.0 release. I’ve already updated my series on Learning the Yii Framework to make sure it’s technically accurate, but I thought I’d highlight a few of changes in Yii 1.1 here.

Continue Reading…

The latest version of the Yii framework, 1.1, came out in January and has a few significant changes, so I’ve been reviewing my “Learning the Yii Framework” series to make sure it’s all still correct. In a [intlink id=”889″ type=”post”]previous post[/intlink], I made note of the new config bootstrap files for testing purposes, as well as the changes in the auto-generated Views. Here I’m going to look at the Models, Views, and Controllers in more detail. Continue Reading…

Yii Framework 1.1 Updates

February 9, 2010

Version 1.1 of the Yii framework was released just recently. I’m going back through the series I wrote on learning Yii and updating it for the latest version. Here’s what I found so far… Continue Reading…