background preloader

CakePHP: the rapid development php framework. Home

CakePHP: the rapid development php framework. Home
Batteries Included The things you need are built-in. Translations, database access, caching, validation, authentication, and much more are all built into one of the original PHP MVC frameworks. Clean MVC Conventions Instead of having to plan where things go, CakePHP comes with a set of conventions to guide you in developing your application. Secure

http://cakephp.org/

Chris Shiflett: Security Corner: Session Fixation Security is gaining more and more attention online. As PHP continues to be a key component of the web’s future, malicious attackers will begin to target weaknesses in PHP apps more frequently, and developers need to be ready. I am very pleased to introduce Security Corner, a new monthly column that is focused completely on web app security. Each month, I will discuss an important topic in great detail that can help you improve the security of your PHP apps and defend against various types of attacks. These topics will not be vague, general overviews, so if you are looking for an introduction to web app security, you will be better served by other sources of information such as the PHP manual's chapter on security. This month’s topic is session fixation, a method of obtaining a valid session identifier without the need for predicting or capturing one.

The CakePHP Herald I don’t re­mem­ber the exact day when I started using a todo list in a se­ri­ous way. It def­i­nitely hap­pened at work, but I can’t re­mem­ber when ex­actly. The point is that, once I started work­ing (and get­ting paid for what I love doing – writ­ing), I slowly turned into a real pro­duc­tiv­ity freak. I write every­thing down. My col­leagues know that if I say that I’ll do some­thing right now but I don’t do it within five min­utes, they have to as­sume that I for­got about it al­to­gether and they’d bet­ter send me an email.

Google JavaScript Style Guide We follow the C++ formatting rules in spirit, with the following additional clarifications. Curly Braces Because of implicit semicolon insertion, always start your curly braces on the same line as whatever they're opening. For example: if (something) { // ... } else { // ... } Building an RSS Feed in Code Igniter I've had a few requests asking how I built my RSS feed since I'm using a custom built Code Igniter blogging system. Actually, it was pretty straight forward, but I thought I'd take a few moments to outline step by step how I did it. Most of the inspiration (and a lot of blatant stealing) is taken from this post about RSS on the Code Igniter forums. Please note, that this requires that you load the URL helper... which I autoload, but could just as easily be included in the contoller (thanks Attos). I start out by creating a controller named "feed".

50 Extremely Useful PHP Tools Advertisement By Jacob Gube PHP is one of the most widely used open-source server-side scripting languages that exist today. With over 20 million indexed domains using PHP, including major websites like Facebook, Digg and WordPress, there are good reasons why many Web developers prefer it to other server-side scripting languages, such as Python and Ruby. PHP is faster (updated), and it is the most used scripting language in practice; it has detailed documentation, a huge community, numerous ready-to-use scripts and well-supported frameworks; and most importantly, it’s much easier to get started with PHP than with other scripting languages (Python, for example). That’s why it makes perfect sense to provide the huge community of PHP developers with an overview of useful tools and resources that can make their development process easier and more effective.

PHP best practices This guide will give you solutions to common PHP design problems. It also provides a sketch of an application layout that I developed during the implementation of some projects. php.ini quirks Grupos de Google: Cake PHP with IIS without mod rewrite OK My modifications:This is for IIS without mod rewrite, and document root set to the rootof the cake installation. In the wiki there is a tutorial for making itwork installing a mod rewrite (My web provider doesn't permitinstalling mod's) At the beginning of core.php, add the line: define('SERVER_APACHE',false);----------------then replace the line define('BASE_URL',xxx) by: if (SERVER_APACHE){ define ('BASE_URL', env('SCRIPT_NAME') );}else{ define ('BASE_URL', env('SCRIPT_NAME') . '?url=');}-----------The file index.php of the root folder of the installation:

Google Closure: How not to write JavaScript At the Edge of the Web conference in Perth last week I got to catch up with Dmitry Baranovskiy, the creator of the Raphaël and gRaphaël JavaScript libraries. Perhaps the most important thing these libraries do is make sophisticated vector graphics possible in Internet Explorer, where JavaScript performance is relatively poor. Dmitry, therefore, has little patience for poorly-written JavaScript like the code he found in Google’s just-released Closure Library. RSS 2.0 Specification (RSS 2.0 at Harvard Law) Internet technology hosted by Berkman Center Tuesday, July 15, 2003 Contents Custom PHP.ini tips and tricks .htaccess code from Ultimate htaccess file ^ AddHandler application/x-httpd-php .php .htm AddHandler php-cgi .php .htm

Related: