Archive for the “PHP” category
Figuring out a proper “BELOW THE FOLD” footer
by Tony Hung on June 11, 2006
To create a “below the fold” effect, you must create a separate entity — a separate div — for this. I created a ‘nested’ footer to create this effect. The separateness allows you to divorce what is going on “above” the fold, with what’s goin on “below” the fold
How WordPress Integrates PHP Part I.
by Tony Hung on June 10, 2006
(I don’t know if there’s going to be a part II … ) But, WordPress has an interesting way of dealing with “control structures” — that is, ifs, whiles, etc etc. Although you can add “tags” to create and modify (…)
Quick and Dirty Ruby on RAILS (more to come)
by Tony Hung on March 29, 2006
Quick and Dirty Rails 1. Create rails: “rails recipe_book” 2. Create databasei in mysql 3. Create table in database — PLURAL, e.g. “recipes” NOT “recipe” 4. EDIT ruby database so it points to database — “config/database.yml” 5. Create model of (…)