Sunday, August 1st, 2010

Category: Programming

Porting your website design to Wordpress Theme #2

Tuesday, October 28th, 2008 by Peter Zhang

This tutorial is a continuation of the Porting your website design into a WordPress theme, if you haven’t already read that post, or isn’t looking for specifically the things we will include in this post (listed below), we strongly recommend to check out that post first.
Today, we are going to talk about:

  • Single.php
  • Category.php
  • Comments.php
  • And other tips when you design.

We have already handled the four most important flies in the previous article, and so today’s tutorial is going to be relatively easier =)

If you like this post, Digg it here: http://digg.com/programming/Porting_your_website_design_into_a_WordPress_theme

Read the rest of this entry »

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Making your Web Designs much smaller and neater

Saturday, October 25th, 2008 by Peter Zhang

I was just looking at varoius websites created by my freinds. For some of them, I found it slow to load, and the sourcecode sometimes can be messy. It came to my mind that I should write an article on how to make your codes look nicer, and of course how to make your website faster to load.

Usually, there is an universal rule that we all abide to: The website, including all images (excluding contents), should not be over 200Kb. It might be hard for some people to achieve that, and so we are going to tell you how =)

Read the rest of this entry »

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Porting your website design into a WordPress theme

Thursday, October 16th, 2008 by Peter Zhang

Recently when Jonathan and I designed this theme, I was in charge of porting it over to make it work on Wordpress. (Yes, that means Jonathan did everything else.. Kudos to him =P) It was not totally painful with the great amount of help i can get from Wordpress Codex and other websites, but I felt it would be more convenient to compile all of them together into a simple guide.

This tutorial is going to teach you how to port your [finished] website design to a WordPress theme. It sounds hard, but it is actually not. =) So, let us begin…

Please note that the finished work of this tutorial will not have WP 2.7(or up) features (nested comments, etc.)

Read the rest of this entry »

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Conditional Statements

Monday, October 13th, 2008 by Peter Zhang

This article is a continuation from What is PHP?. if you have not already read that post, please point yourself to that page =)

Today, I am going to briefly talk about conditional statements, such as if… elseif…… those kinds of things. Get yourself ready, and let’s get started!

Read the rest of this entry »

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Integrating your website with Active Directory through LDAP

Monday, October 13th, 2008 by Jonathan Lau

Does your school or corporate network require a Windows network password to login to computer terminals? If it does, chances are that LDAP is supported and you can integrate your website’s login system with your existing Windows login so that users have one less password to remember.

This tutorial teaches you how to integrate your website to your cooperate or school network by making use of LDAP. With this, users of your website can use their current login information to access your site.

Read the rest of this entry »

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

What is PHP?

Saturday, October 11th, 2008 by Peter Zhang

Nowadays, most websites are created out of PHP. Why? Simply because it is flexible. It can integrate very nicely into other programming languages and databases such as HTML, Javascript, Ajax, MySQL, etc.  Also, it is absolutely free to use!

PHP stands for PHP: Hypertext Preprocessor (It doesn’t really make sense, I know.. ). The latest stable version is 5.2.6 (as of the time this post was posted. In this article, I am going to post a short introduction of PHP. If you are already a PHP guru, I suggest you to skip this =)

Read the rest of this entry »

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks