Category: Development

  • Making Money With Flash Games

    There are a few different ways to make money with Flash games.  In today’s article I will discuss the simplest way.  It requires no development and no Flash skills.  It does require a bit of investment (not a lot though) and some search engine optimization (SEO) skills.

    (more…)

  • Optimizing CakePHP Websites

    CakePHP offers a lot of functionality to us as developers. The ability to develop websites rapidly provides a trade-off in how quickly the website will load. As we expand our skills, we will learn the techniques that will slow down/speed up performance.

    Objectives

    • Apply techniques to speed up CakePHP’s load time
    • Optimize our queries
    • Cache query results

    (more…)

  • Adding SEO functionality

    Two of the biggest things that will improve your search engine rankings are keyword rich website titles and keyword rich links to your content. Today’s lessons will cover both of these topics.

    Objectives

    • Improve our search engine rankings
    • Set a title tag
    • Map a specific URL to a custom controller and action
    • Avoid using ids or numbers in our URL

    Before I start, I would like to make it clear that this article is and does not intend to be a be-all-to-end-all of the SEO necessities for your website. It is meant to describe some excellent techniques to quickly and easily improve upon CakePHP to make it more SEO friendly. (more…)

  • unbindModel and $this->paginate()

    Ugggh what a disaster today was!  On a client’s site, we have an older version of CakePHP, pre containable functionality.  Because of this, we have to use unbindModel and bindModel to accomplish the same functionality.

    Over the past while, it has not been such a big deal.  However, for some other unknown reason, a search feature wasn’t returning back the appropriate associative data.  This had been working for quite some time, then suddenly stopped.  As I mentioned, I’m not exactly sure when and why it stopped working, but it did. (more…)

  • Facebook Development – Quick and Easy Dialogs

    At my work, whenever we have a link to delete records, we always have a simple Javascript confirm dialog pop-up.  The confirm dialog just does the standard, “Are you sure you wish to delete this record?” with an OK and Cancel button.  If the user clicks cancel, the record is not deleted, if they click OK, the record will be deleted.

    If you’ve done some Facebook development, you will notice quickly that the alert() and confirm() functions do not work.  I’ve found this slightly annoying, so I’ve written a very simple Javascript function that let’s me use the nifty dialogs that Facebook provides us. (more…)