Recent Posts
- (09/10) Fixing Warning: the ECDSA host key for 'github.com' differs from the key for the IP addressTAGS:Web Server Admin
- (12/26) CakePHP 3 - Getting List of Column Definitions from a Table (like schema())TAGS:CakephpCake3
- (09/14) Change Order of Loaded Behaviors in CakePHP 3TAGS:Cake3CakephpWeb ProgrammingPhp
- (05/29) CakePHP 3 - Accept JSON Header Only Working When Debug FalseTAGS:Web ProgrammingCakephpCake3
- (05/23) Remove All Events from Google Calendar (Reset Calendar)TAGS:Web ProgrammingPhp
- (11/08) Google Tag Manager (GTM) Not Firing Default PageView EventTAGS:Web ProgrammingJavascriptGoogle Tag Manager
- (10/13) In PHP, how do you get __toString() Magic Method Result without calling echo?TAGS:CakephpCake3Cakephp 13PhpWeb Programming
- (11/14) Getting output from shell_exec() at all timesTAGS:Web ProgrammingWeb Server Admin
Subscribe to my feed
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?
Read: What is the Difference Between Oblique and Italic in CSS? | View: Comments
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:
Read: How do I reset the keys in a PHP array? | View: Comments
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.
Read: Can I (Un) Sharpen an Image After Resizing it with GD in PHP? | View: Comments
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.
Read: What are the elements of a good landing page? | View: Comments
Full Tag List
- Cakephp
- Web Programming
- Site Avenger
- Excel
- Csv
- Database
- Saveall
- Vendors
- Import
- Truncate
- Empty Table
- Forms
- Habtm
- Usage
- Tinymce
- Geshi
- Usability
- Upgrade
- Graphic Design
- Internet Marketing
- Software
- From The Hip
- Midcoast Magnet
- User Group
- Component
- Mssql
- Git
- Apache
- Seo
- Htaccess
- Mysql
- Eclipse
- Gear
- Photoshop
- Php
- Css
- Iis
- Web Server Admin
- 404 Errors
- Iisreset
- Web Design
- Hack
- Internet Explorer
- Ie
- Firefox
- Forum Answers
- Jquery
- Swfupload
- Windows
- Example
- Links
- Tutorial
- Errors
- Behaviors
- Cakephp 13
- Humor
- Music
- Jquery Ui
- Ui
- Wamp
- Cloudfiles
- Setup
- Javascript
- Responsive
- Quick Tip
- Cake3
- Foundation
- Google Tag Manager