Tutorials's tag archives

Design a Master CSS Stylesheet

Every time we start a new website, we need to write our CSS code from the beginning. Actually, many of the codes are the same as our previous website, like settings of blockquote, title(<h1> to <h6>), etc. I was thinking that we can create a CSS template for all websites which containing most common CSS settings. I lately found Kyle has done this, his master stylesheet has everything I need for a new website. I tried to add something to the stylesheet, but not much can be...

Hello World Tutorial for Kohana

It seems unnecessary to write a Hello World tuorial for a PHP framework, because when someone comes to framework, he is no longer a beginner, can figure out his own Hello World. But this idea comes up in my brain, and I guess it might be helpful for someone who is the first time to work with MVC or OOP. It's quite simple, let's get started. You should have installed Kohana correctly, now we create a hello.php in /application/controllers/, here is the content of the...

Install Kohana on Windows

I'm new to Kohana, making this tutorial just want to do something for the community. Please let me know, if you found any mistakes. Ok, let's cut to the chase. I suppose you have your server installed, if not I recommand AppServ. It's better to use the latest version of Kohana from SVN, so you might need TortoiseSVN. I create a folder called Kohana in my webroot, check out the truck folder from SVN, it's quite easy to do it, right click, select SVN Check... Type http://svn.kohanaphp.com/trunk...