MainelyDesign.com Blog

Forum Answers Tagged Blog Posts

Speeding Up Cakephp's ACL Component

Posted on 05/28/2010 at 12:12 pm | Viewed 18,071 times | 1 comment

I came across a posting today that changed the performance of my application tremendously and reinforced a concept I had forgotten about- mysql indices. I didn't realize my app was running slow until I implemented the mysql indexes below- no formal benchmark testing, but I would say speed improved by about 300%.  The improvement was most noticeble when you are building your ACL using the CakePHP suggested method.

What is the Difference Between Oblique and Italic in CSS?

Posted on 11/12/2009 at 09:34 am | Viewed 16,327 times | 0 comments

This answer was located at WebMasterWorld.com on 11/12/09.  Answers written by johnl.

I was reading up on the CSS font-style property, making sure the default value was normal.  In case you are wondering, the default font-style value is normal.  What struck me was a new value I've never used before: oblique.  Now I'm curious... what's the difference between oblique and italic as it pertains to CSS fonts?

How do I reset the keys in a PHP array?

Posted on 09/11/2009 at 02:00 pm | Viewed 30,464 times | 0 comments

This answer was located at CodingForums.com on 9/11/09.  Answers written by PHP6 and Fou-Lu.
I had been hunting for an answer to the elusive question of how do I reset array keys in PHP.  I finally found the perfect (and thorough) answer here. There are 3 ways to reset array keys in PHP.  All of these solutions work with numerically indexed arrays only. To recap:

Can I (Un) Sharpen an Image After Resizing it with GD in PHP?

Posted on 08/25/2009 at 10:19 am | Viewed 13,396 times | 0 comments

This answer was located at Drupal Forums on 8/25/09.  Answer written by dpfiffe.
I've been toying with the idea of making my personal image gallery online, so I can tag, etc.  I want to store a large file and resize on demand, so I became interested in finding out how to sharpen after resizing an image in PHP, using GD Library.

What are the elements of a good landing page?

Posted on 08/24/2009 at 11:31 am | Viewed 10,868 times | 0 comments

This answer was located at SEO Chat on 8/24/09.  Answer written by new_seo.
This is an excellent example of a thorough forum answer.  The specific design elements, and expected user behavior, associated with an effective landing page are discussed.  This posting was supposed to be regarding Google's Rating of your landing page, however the author discusses a pretty well rounded approach to maximizing the effectiveness of your landing pages, so it's worth a read. See
Answer #2.

Full Tag List

Meet Site Avenger - Hosted Content Management System

Powered By: Site Avenger | Site Production: Saco Design