Helping you solve those tough coding problems!
Learn some great web development and web design tips and techniques through recipes that clearly define the problem being solved with a working solution.
Popular Tags: cakephp | theory | optimization | javascript-development | asp-net | css | jquery-development | sql | ajax | c

Search:
Follow @endyourif rss Facebook LinkedIn

Using the JsHelper in CakePHP to submit a form with AJAX Using the JsHelper in CakePHP to submit a form with AJAX

Published on Mar 10, 2019 by Jamie Munro

The JsHelper in CakePHP 2.x has replaced the AjaxHelper from CakePHP 1.x. I recently tried to implement the JsHelper without very much success; perhaps if I would have read the documentation more closely it would have been quite obvious what my mistake was. So in case you're like me and often skim over long documentation of a helper when you just need one function, in my case: $this->Js->submit() then you can often miss very important information. This article will hopefully help clarify
it.

Read more >

Tags: CakePHP | jshelper | CakePHP

Using the JsHelper in CakePHP to submit a form with AJAX Using the JsHelper in CakePHP to submit a form with AJAX

Published on Mar 10, 2019 by Jamie Munro

The JsHelper in CakePHP 2.x has replaced the AjaxHelper from CakePHP 1.x. I recently tried to implement the JsHelper without very much success; perhaps if I would have read the documentation more closely it would have been quite obvious what my mistake was. So in case you're like me and often skim over long documentation of a helper when you just need one function, in my case: $this->Js->submit() then you can often miss very important information. This article will hopefully help clarify
it.

Read more >

Tags: CakePHP | jshelper | CakePHP

Using CakePHP to scaffold a new database table Using CakePHP to scaffold a new database table

Published on Mar 5, 2019 by Jamie Munro

With each new table you create in your database, you will typically need to create a model, controller, and one or more views to get started. CakePHP contains two solutions to get you started creating these files with minimal effort.

Scaffolding allows an application to perform the following four scenarios, known as CRUD: Create, Retrieve, Update, and Delete.

In CakePHP, scaffolding can be done in two different ways. The first way is extremely simple, but doesn’t provide the ability to customize easily. The second way requires a bit of setup time; however, once done, you have full control over customizing any aspect of things.

Read more >

Tags: CakePHP | database | CakePHP

Using CakePHP to scaffold a new database table Using CakePHP to scaffold a new database table

Published on Mar 5, 2019 by Jamie Munro

With each new table you create in your database, you will typically need to create a model, controller, and one or more views to get started. CakePHP contains two solutions to get you started creating these files with minimal effort.

Scaffolding allows an application to perform the following four scenarios, known as CRUD: Create, Retrieve, Update, and Delete.

In CakePHP, scaffolding can be done in two different ways. The first way is extremely simple, but doesn’t provide the ability to customize easily. The second way requires a bit of setup time; however, once done, you have full control over customizing any aspect of things.

Read more >

Tags: CakePHP | database | CakePHP

Using CakePHP with the jQuery Sortable Plugin Using CakePHP with the jQuery Sortable Plugin

Published on Mar 4, 2019 by Jamie Munro

It's time to permanently remove all "manual" sorting from the Internet. You know the one I mean where it has the up and down arrows – or even worse, the text box that accepts a numerical order input. By implementing the jQuery Sortable Plugin, you will be able to provide a simple, but effective drag-and-drop ordering solution for just about any type of data!

In a recent article, I described the required HTML and Javascript code need to implement the jQuery Sortable Plugin on a gallery of images. If you haven't already done so, please begin by reading this article because this one will gloss over those features and focus on how to implement this with CakePHP.

Read more >

Tags: CakePHP | jquery | PHP | JavaScript | jQuery | CakePHP

Using CakePHP with the jQuery Sortable Plugin Using CakePHP with the jQuery Sortable Plugin

Published on Mar 4, 2019 by Jamie Munro

Cannot find module (SNMPv2-TC) Cannot find module (SNMPv2-TC)

Published on Feb 18, 2019 by Jamie Munro

Setting Up CakePHP with IIS Setting Up CakePHP with IIS

Published on Jun 11, 2013 by Jamie Munro

Setting Up CakePHP with IIS Setting Up CakePHP with IIS

Published on Jun 11, 2013 by Jamie Munro

Implementing the Repository Pattern with CakePHP Implementing the Repository Pattern with CakePHP

Published on Jun 3, 2013 by Jamie Munro

Implementing the Repository Pattern with CakePHP Implementing the Repository Pattern with CakePHP

Published on Jun 3, 2013 by Jamie Munro

Changes to Model:find('first') in CakePHP 2.3 Changes to Model:find('first') in CakePHP 2.3

Published on Jan 30, 2013 by Jamie Munro

Changes to Model:find('first') in CakePHP 2.3 Changes to Model:find('first') in CakePHP 2.3

Published on Jan 30, 2013 by Jamie Munro

Recent Guest Posts on PHPMaster.com Recent Guest Posts on PHPMaster.com

Published on Jan 7, 2013 by Jamie Munro

Recent Guest Posts on PHPMaster.com Recent Guest Posts on PHPMaster.com

Published on Jan 7, 2013 by Jamie Munro

CakePHP Global Constants and Functions CakePHP Global Constants and Functions

Published on Sep 21, 2012 by Jamie Munro

CakePHP Global Constants and Functions CakePHP Global Constants and Functions

Published on Sep 21, 2012 by Jamie Munro

CakePHP Extending one View from Another CakePHP Extending one View from Another

Published on Sep 20, 2012 by Jamie Munro

CakePHP Extending one View from Another CakePHP Extending one View from Another

Published on Sep 20, 2012 by Jamie Munro

CakePHP 2.x Login System CakePHP 2.x Login System

Published on Sep 18, 2012 by Jamie Munro

CakePHP 2.x Login System CakePHP 2.x Login System

Published on Sep 18, 2012 by Jamie Munro

A Short Rant About Coding Conventions A Short Rant About Coding Conventions

Published on Sep 13, 2012 by Jamie Munro

Are you having CakePHP and NGINX Rewrite Rule Issues? Are you having CakePHP and NGINX Rewrite Rule Issues?

Published on Sep 10, 2012 by Jamie Munro

Are you having CakePHP and NGINX Rewrite Rule Issues? Are you having CakePHP and NGINX Rewrite Rule Issues?

Published on Sep 10, 2012 by Jamie Munro

What I Learned This Summer What I Learned This Summer

Published on Sep 7, 2012 by Jamie Munro

CakePHP Version Comparison with PHP Version Comparison CakePHP Version Comparison with PHP Version Comparison

Published on Jun 25, 2012 by Jamie Munro

CakePHP Version Comparison with PHP Version Comparison CakePHP Version Comparison with PHP Version Comparison

Published on Jun 25, 2012 by Jamie Munro

Officially published my CakePHP Book Officially published my CakePHP Book

Published on May 19, 2011 by Jamie Munro

Officially published my CakePHP Book Officially published my CakePHP Book

Published on May 19, 2011 by Jamie Munro

CakePHP 1.2 VS 1.3 VS 2.0 Page Request Times CakePHP 1.2 VS 1.3 VS 2.0 Page Request Times

Published on Mar 7, 2011 by Jamie Munro

CakePHP 1.2 VS 1.3 VS 2.0 Page Request Times CakePHP 1.2 VS 1.3 VS 2.0 Page Request Times

Published on Mar 7, 2011 by Jamie Munro

AJAX Star Rating Plugin For CakePHP AJAX Star Rating Plugin For CakePHP

Published on Mar 2, 2011 by Jamie Munro

AJAX Star Rating Plugin For CakePHP AJAX Star Rating Plugin For CakePHP

Published on Mar 2, 2011 by Jamie Munro

CakePHP 2-0 Ajax Pagination WITHOUT The Pages CakePHP 2-0 Ajax Pagination WITHOUT The Pages

Published on Feb 28, 2011 by Jamie Munro

CakePHP 2-0 Ajax Pagination WITHOUT The Pages CakePHP 2-0 Ajax Pagination WITHOUT The Pages

Published on Feb 28, 2011 by Jamie Munro

CakePHP CSS Enhancements From 1.2 To 1.3 CakePHP CSS Enhancements From 1.2 To 1.3

Published on Feb 23, 2011 by Jamie Munro

CakePHP CSS Enhancements From 1.2 To 1.3 CakePHP CSS Enhancements From 1.2 To 1.3

Published on Feb 23, 2011 by Jamie Munro

Publishing an e-book on Smashwords Publishing an e-book on Smashwords

Published on Feb 7, 2011 by Jamie Munro

Publishing an e-book on Smashwords Publishing an e-book on Smashwords

Published on Feb 7, 2011 by Jamie Munro

Interesting CakePHP Bakery Components Interesting CakePHP Bakery Components

Published on Feb 3, 2011 by Jamie Munro

CakePHP 2.0 Rant Retraction CakePHP 2.0 Rant Retraction

Published on Feb 1, 2011 by Jamie Munro

CakePHP 2.0 Rant CakePHP 2.0 Rant

Published on Jan 31, 2011 by Jamie Munro

Using the TextHelper with CakePHP Using the TextHelper with CakePHP

Published on Jan 24, 2011 by Jamie Munro

Using the TextHelper with CakePHP Using the TextHelper with CakePHP

Published on Jan 24, 2011 by Jamie Munro

Modifying the CakePHP Bakery Templates Modifying the CakePHP Bakery Templates

Published on Jan 3, 2011 by Jamie Munro

Modifying the CakePHP Bakery Templates Modifying the CakePHP Bakery Templates

Published on Jan 3, 2011 by Jamie Munro

Maintaining the back button with AJAX Maintaining the back button with AJAX

Published on Dec 28, 2010 by Jamie Munro

Maintaining the back button with AJAX Maintaining the back button with AJAX

Published on Dec 28, 2010 by Jamie Munro

Optimizing CakePHP Websites Optimizing CakePHP Websites

Published on Jan 20, 2010 by Jamie Munro

Optimizing CakePHP Websites Optimizing CakePHP Websites

Published on Jan 20, 2010 by Jamie Munro

Adding SEO functionality Adding SEO functionality

Published on Nov 15, 2009 by Jamie Munro

Adding SEO functionality Adding SEO functionality

Published on Nov 15, 2009 by Jamie Munro

unbindModel and $this->paginate() unbindModel and $this->paginate()

Published on Aug 20, 2009 by Jamie Munro

unbindModel and $this->paginate() unbindModel and $this->paginate()

Published on Aug 20, 2009 by Jamie Munro

Photobucket, Photos, and You Photobucket, Photos, and You

Published on May 23, 2009 by Jamie Munro

Facebook, Photos, and You! Facebook, Photos, and You!

Published on May 18, 2009 by Jamie Munro

Caching Queries in CakePHP Caching Queries in CakePHP

Published on Apr 25, 2009 by Jamie Munro

Custom pagination query in CakePHP Custom pagination query in CakePHP

Published on Apr 13, 2009 by Jamie Munro

3 Flaws to CakePHP's AuthComponent 3 Flaws to CakePHP's AuthComponent

Published on Apr 10, 2009 by Jamie Munro

A friendly framework reminder A friendly framework reminder

Published on Apr 1, 2009 by Jamie Munro

A friendly framework reminder A friendly framework reminder

Published on Apr 1, 2009 by Jamie Munro

Unbind Model Validation in CakePHP Unbind Model Validation in CakePHP

Published on Mar 28, 2009 by Jamie Munro

Unbind Model Validation in CakePHP Unbind Model Validation in CakePHP

Published on Mar 28, 2009 by Jamie Munro

Login system with CakePHP in under 10 minutes Login system with CakePHP in under 10 minutes

Published on Mar 23, 2009 by Jamie Munro

Optimize your CSS and JS with CakePHP in minutes Optimize your CSS and JS with CakePHP in minutes

Published on Mar 21, 2009 by Jamie Munro

Optimize your CSS and JS with CakePHP in minutes Optimize your CSS and JS with CakePHP in minutes

Published on Mar 21, 2009 by Jamie Munro

Importance of using the CakePHP Helpers Importance of using the CakePHP Helpers

Published on Mar 20, 2009 by Jamie Munro

Importance of using the CakePHP Helpers Importance of using the CakePHP Helpers

Published on Mar 20, 2009 by Jamie Munro

Re-map key/value array data in PHP Re-map key/value array data in PHP

Published on Mar 19, 2009 by Jamie Munro

Re-map key/value array data in PHP Re-map key/value array data in PHP

Published on Mar 19, 2009 by Jamie Munro

When to use element() and when to requestAction() When to use element() and when to requestAction()

Published on Mar 16, 2009 by Jamie Munro

CakePHP Containable Statement Pitfalls CakePHP Containable Statement Pitfalls

Published on Mar 15, 2009 by Jamie Munro

CakePHP Containable Statement Pitfalls CakePHP Containable Statement Pitfalls

Published on Mar 15, 2009 by Jamie Munro

Keeping your CakePHP Controllers Clean Keeping your CakePHP Controllers Clean

Published on Mar 14, 2009 by Jamie Munro

Keeping your CakePHP Controllers Clean Keeping your CakePHP Controllers Clean

Published on Mar 14, 2009 by Jamie Munro

Drag and drop category management with CakePHP Drag and drop category management with CakePHP

Published on Mar 11, 2009 by Jamie Munro

Drag and drop category management with CakePHP Drag and drop category management with CakePHP

Published on Mar 11, 2009 by Jamie Munro

How to add comments with AJAX in CakePHP How to add comments with AJAX in CakePHP

Published on Mar 9, 2009 by Jamie Munro

How to add comments with AJAX in CakePHP How to add comments with AJAX in CakePHP

Published on Mar 9, 2009 by Jamie Munro

How to advance our CMS in CakePHP How to advance our CMS in CakePHP

Published on Mar 8, 2009 by Jamie Munro

How to advance our CMS in CakePHP How to advance our CMS in CakePHP

Published on Mar 8, 2009 by Jamie Munro

How to create a CMS with CakePHP How to create a CMS with CakePHP

Published on Mar 7, 2009 by Jamie Munro

How to create a CMS with CakePHP How to create a CMS with CakePHP

Published on Mar 7, 2009 by Jamie Munro

AJAX Select box in CakePHP AJAX Select box in CakePHP

Published on Mar 6, 2009 by Jamie Munro

AJAX Select box in CakePHP AJAX Select box in CakePHP

Published on Mar 6, 2009 by Jamie Munro

How to setup a route in CakePHP How to setup a route in CakePHP

Published on Mar 5, 2009 by Jamie Munro

How to setup a route in CakePHP How to setup a route in CakePHP

Published on Mar 5, 2009 by Jamie Munro

StringExtractComponent for CakePHP StringExtractComponent for CakePHP

Published on Feb 28, 2009 by Jamie Munro

StringExtractComponent for CakePHP StringExtractComponent for CakePHP

Published on Feb 28, 2009 by Jamie Munro

Why Frameworks Are Better Why Frameworks Are Better

Published on Feb 17, 2009 by Jamie Munro

Why Frameworks Are Better Why Frameworks Are Better

Published on Feb 17, 2009 by Jamie Munro