Cook up Web sites fast with CakePHP

Posted on 30th November 2006 by Nio in CakePHP, 程序人生

没想到 IBM developerWorks 也开始了一些关于 CakePHP 的文章,Cook up Web sites fast with CakePHP 序列将讲解如何使用 CakePHP 构建一个在线产品目录。不过目前只有第一部分:Getting started

About this series

  • Part 1 focuses on getting CakePHP up and running, and the basics of how to put together a simple application allowing users to register for an account and login to the application.
  • Part 2 demonstrates how to use Scaffolding and Bake to get a jump start on your application, and using CakePHP access control lists.
  • Part 3 shows how to use Sanitize, a handy CakePHP class, which helps secure an application by cleaning up user-submitted data. Part 3 also covers the CakePHP security component, handling invalid requests and other advanced request authentication.
  • Part 4 focuses primarily on the Session component of CakePHP, demonstrating three ways to save session data, as well as the Request Handler Component to help you manage multiple types of requests (mobile browsers, requests containing XML or HTML, etc).
  • And Part 5 deals with caching, specifically View and Layout caching, which can help reduce server resource consumption and speed up your application.

AJAX in CakePHP 序列文章第二篇 - Sortable

Posted on 26th November 2006 by Nio in AJAX, CakePHP, 程序人生

前一段有个不认识的朋友来信,询问如何在 CakePHP 中使用 sortable 拖曳排序,因为空闲时间不多,所以我也就简单的回了几封信,不知道这位朋友现在是否已经明白。不管怎样,今天还是抽空写了《AJAX in CakePHP (2) - Sortable》,希望对正在使用或将要使用 CakePHP AjaxHelper 的同学有所帮助。 之后还会抽时间争取把这个序列的文章完成 ;)

My baby is sick!

Posted on 25th November 2006 by Nio in 宝宝, 日常生活

宝宝发烧了,天气太冷,着凉了,给他额头上贴了退烧帖,吃了药,现在没那么热了,希望能够马上好起来。

SickBaby.jpg

SickBaby2.jpg

How to Bridge PHP and Java for Powerful Web Solutions

Posted on 22nd November 2006 by Nio in Java, 程序人生

How to Bridge PHP and Java for Powerful Web Solutions

Here's how to team up two of the most popular and powerful platforms for web development together. With the php-java bridge you can build classes and jar files in Java and call them and use their methods in PHP. Use the quick and easy PHP language to bring Java muscle to your web pages.

In this tutorial I am using Windows 2000 Server, PHP 5.1.4 and php-java bridge 3.1.6. Windows is my operating system of choice but there is information on installing and using php-java bridge on Linux and Mac OS. You can find it under the resource link at the end of the article. I am going to assume that you have a bit of knowledge about both PHP and Java. You should know enough to get them installed and be able to do simple coding in both.

十一个月的宝宝

Posted on 18th November 2006 by Nio in 宝宝, 日常生活

昨天宝宝正好满十一个月,离一周岁还差一个月,正在冲刺中,^_^
他现在开始会挥手再见了,还会抓着栏杆站起来,不过还不会自己走路,要人帮着才行。随着一步一步长大,知道的也多了,脾气见长,不满足他就闹。到目前为止还没长一颗牙,不知道啥时候长,我们都已经盼了好久了,希望一岁之前能够长出来。

DSC05059_resize.JPG

DSC05060_resize.JPG

DSC05061_resize.JPG