So here’s another common Internet Explorer CSS hack that’s pretty popular and not too ugly.
Here’s The Problem ie-css-min-height-hack
This is how normal people horizontally center block elements using CSS: You slap on a width (I mean, that should be obvious enough right?). Then you set the left and right margins to auto, and Voil , centered!
body #box { margin: 0 auto; width: 780px; } Well except in Internet Explorer and some older browsers.
Now it’s not surprise to anyone out there that I hate Internet Explorer. No I mean I really hate it! One of the reasons that I hate it so much is that it’s buggy. Call it whatever you want, maybe it’s too forgiving on bad HTML or CSS, but whatever their intentions are (forgiving sloppy code or just too lazy to interpret code right) it causes tons of problems.
The Min-Height Problem I know a lot of you have had this problem in the past.
So here we have the timely battle that PHP faces. Frankly, I’m getting sick and tired of this. All in all, I’d have to agree with Jeff on this one, to a certain extent.
They Say PHP Sucks You’ll hear the same claims every single time: “Google PHP Sucks you’ll see how much PHP sucks”. Oh please! This is some of what the haters usually use for the argument:
“There are too many functions” PHP Isn’t OOP Everything is strung together - This claim usually talks about the interaction between PHP and/or SQL In Defense of PHP The number one claim is that everything in PHP feels like it’s clunky and may fall apart at any time.
It’s not news that Bindable Behavior has saved countless lives in terms of functionality.
As of Changeset 6918 this has now been integrated into the CakePHP core. So, we’ll have something to look forward to in the official release of CakePHP 1.2. Mind you, there may be a lot of other hidden gems in there, I just haven’t been paying attention lately :).
Most of the functionality is as we remember, with a few exceptions:
So, you’ve been reading this blog for a while and you’re (hopefully) picking up very valuable tips on website and web application design. But just like all other do-it-yourself (DIY) projects, no amount of tips or tutorials in isolation is going to make you an expert. So you throw your hands up in say “I’m done with this web design crap!” But, you still need a website. So what do you do?
One of the big things you’ll hear about Ruby on Rails is that it’s hard to scale. In my opinion, that’s not really an issue that one should be addressing on the framework level. Scaling, in my opinion, should be something reserved for backend databases and servers. From what I’ve read, you should be able to slap on a MySQL proxy and an Apache load balancer in front of multiple mongrel servers, but I digress.
Somehow I don’t think most people understood what my bias comparison of CakePHP vs Ruby on rails meant. The last few visitors to comments seem to have been Rails fans. One of them seems to think that I shouldn’t touch Ruby on Rails with a ten foot pole and should stick with CakePHP. He doesn’t want someone like me in their community. The other comment, I get the opposite vibe from.
So it’s been about a weeks since it was out, so I figure, why not? After all I have the WordPress Automatic Upgrade plugin, so this should be a breeze. Now this plugin makes upgrading WordPress ridiculously simple. It handles file backups, database backups, deactivating and reactivating all plugins, etc.
So I go through the process and I’m not totally disappointed. There were the normal problems we have with all upgrades and some new ones:
This is the third installment of my Auth Component Tutorial. This tutorial builds on the first installment, so make sure you grab the download file:
CakePHP Auth 1 (4.3 KiB, 18,444 hits)
You’ll find it on almost every popular web site’s login page; a nice lil' checkbox that says “Remember Me”. It seems to have become a basic addition to any page with a login form. Generally, when a user logs into a web site, he’s logged in until his session expires.
Now I don’t have to tell you guys about all the goodies that WordPress 2.5 brings, but I’ll name a few anyways:
New fresh Admin theme Nice Dashboard You can modify the link for “Incoming Links”. Technorati anyone? Finally included Tag Management Concurrent Post Editing Protection One Click Plugin upgrades. Oh yes. It’s about time. Built in Gallery Nice Flash Media Uploader There’s just ONE thing that rubs me the wrong way.