<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>DerEuroMark</title>
	<link>http://www.dereuromark.de</link>
	<description>A blog about Frameworks (CakePHP), MVC, Snippets, Tips and more</description>
	<lastBuildDate>Sat, 28 Aug 2010 12:47:38 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0" -->

	<item>
		<title>Useful hidden functions</title>
		<description><![CDATA[There are some handy cake functions you might not have used or even heard of, yet. Models save, saveField, saveAll(), deleteAll(), &#8230; return usually true/false or the record itself. Sometimes it would be nice to know how many records have been deleted/modified. $this-&#62;Model-&#62;getAffectedRows&#40;&#41;; This will do the trick. The integer result can then be used [...]]]></description>
		<link>http://www.dereuromark.de/2010/08/28/useful-hidden-functions/</link>
			</item>
	<item>
		<title>Development vs. Productive Setup</title>
		<description><![CDATA[If you want to deploy your cakephp app you usually have to change a few lines of code. But we want to minimize that. My example setup: - development: Windows (>= Vista) - productive: Linux (Debian) Database Setup Create a library file and extend this from your DATABASE_CONFIG. This way you can let your app [...]]]></description>
		<link>http://www.dereuromark.de/2010/08/17/development-vs-productive-setup/</link>
			</item>
	<item>
		<title>How to implement Captchas properly</title>
		<description><![CDATA[What is a captcha? They protect forms on websites from spammers and bots (@see Wikipedia for details). The main idea: Display some kind of code a human can easily read and submit but a computer can not. How NOT to implement captchas This part is even more important, because there is not only one correct [...]]]></description>
		<link>http://www.dereuromark.de/2010/08/09/how-to-implement-captchas-properly/</link>
			</item>
	<item>
		<title>Extended core validation rules</title>
		<description><![CDATA[I18n Translation Some translate the rules in the view &#8211; but it usually creates redundancy. In some projects this might be intentional. I like to keep the error messages centralized, though. For that, you can just override the core translation rule &#8211; add this to app_model.php: /** * Overrides the Core invalidate function from the [...]]]></description>
		<link>http://www.dereuromark.de/2010/07/19/extended-core-validation-rules/</link>
			</item>
	<item>
		<title>Redirect Root Domain to WWW Subdomain</title>
		<description><![CDATA[The Problem &#8220;When you have two different addresses pointing to the same page, like www.example.com/offers.html and example.com/offers.html, many search engines (or so we are led to believe) will treat those two URLs as two separate pages. When you, as a human, see those two pages and notice they are identical, you will automatically realise (correctly) [...]]]></description>
		<link>http://www.dereuromark.de/2010/07/13/redirect-root-domain-to-www-subdomain/</link>
			</item>
	<item>
		<title>User Add Console Script</title>
		<description><![CDATA[If you have a fresh setup of your app and no users in the database, its not easy to &#8220;register&#8221; a new one (with the admin role and everything). The other case would be if you changed the security salt. Now you need new passwords, as well. The second part is not yet covered by [...]]]></description>
		<link>http://www.dereuromark.de/2010/07/04/user-add-console-script/</link>
			</item>
	<item>
		<title>Subversion and multiple CakePHP apps</title>
		<description><![CDATA[A few days ago i already wrote about how to set up a svn for cake. In this second part i will cover the aspect of managing several apps. The Problem We have several apps, each with its own cake and vendor folder. If you need to update from 1.3.1 to 1.3.2 you would need [...]]]></description>
		<link>http://www.dereuromark.de/2010/07/02/subversion-and-multiple-cakephp-apps/</link>
			</item>
	<item>
		<title>Code-Completion Console Script</title>
		<description><![CDATA[Many good IDEs for Webdevelopment cannot automatically understand the structure of a framework and its classes/objects. They need a small file initializing the objects so that they know in which context they appear. E.g.: $this->Session (Session Helper) its impossible for the IDE to know that the the helpers are inside the View class. Same goes [...]]]></description>
		<link>http://www.dereuromark.de/2010/06/28/code-completion-console-script/</link>
			</item>
	<item>
		<title>Social Bookmark Helper</title>
		<description><![CDATA[If you want to add social bookmarks to your cake projects, this helper will do the trick. Usage # Defaults: $this-&#62;Bookmark-&#62;getBookmarks&#40;&#41;; &#160; # All: $this-&#62;Bookmark-&#62;getBookmarks&#40;null, null, $this-&#62;Bookmark-&#62;availableBookmarks&#40;&#41;&#41;; &#160; # Custom: $custom = &#40;array&#41;Configure::read&#40;'Bookmarks'&#41;; //or $custom = array&#40;'Twitter', 'Facebook', ...&#41;; $this-&#62;Bookmark-&#62;getBookmarks&#40;null, null, $custom&#41;; Link to GIT-Rep cakephp-bookmark-helper Updates on bookmarks? Are there any outdated bookmarks &#8211; [...]]]></description>
		<link>http://www.dereuromark.de/2010/06/27/bookmark-helper/</link>
			</item>
	<item>
		<title>Helper? Component? Lib?</title>
		<description><![CDATA[Some ideas what to use if you want to add some additional feature. Feel free to comment on this below. Level of Independence We need to ask ourselves if this feature needs to interact with other cake elements, like controller, some components, models, &#8230; If it needs to save to the session, or if it [...]]]></description>
		<link>http://www.dereuromark.de/2010/06/26/helper-component-lib/</link>
			</item>
</channel>
</rss>
