Archive for September, 2009

Javascript DOM basics Video Tutorial

Monday, September 21st, 2009

Hi,

Not directly related to PHP, but nonetheless many a PHP programmers will probably (at some point) have to have their PHP scripts ‘talk’ with some client side code; whether it be to a Flash application or straight to the browser using Javascript.

The DOM is a virtual map of a web page. The DOM along with Javascript allows you to navigate and dynamically change things about the page:

- tags
- text
- attributes of tags

I just released a new video on the DOM from my upcoming beginners course on Javascript and basic DOM scripting:

You can find the entire Javascript beginners course at killerjavascript.com.

Thanks for reading and I hope you find the video useful.

Stefan Mischook

www.killerphp.com

JQUERY Video Tutorial Course.

Thursday, September 3rd, 2009

jquery-box-shot-medium

Hi,

I like to announce our new JQuery video tutorial course.

Though not strictly related to PHP, JQuery is a very popular Javascript library that many PHP programmers find themselves working with.

Besides straight JQuery videos, we do get into some PHP specific subjects:

  • PHP and Ajax
  • PHP and JSON

The table of contents:

* Getting jQuery: Part 1 – 8:22 minutes
* Getting jQuery: Part 2 – 8:57 minutes
* Events: Part 1 – 14:43 minutes
* Events: Part 2 – 13:23 minutes
* Dom manipulation – 10:39 minutes
* Ajax introduction – 10:16 minutes
* Ajax with PHP – 17:59 minutes
* Introduction to JSON – 14:47 minutes
* PHP classes with JSON – 21:21 minutes

-

This is not a one of my completely free courses but I released about 40 minutes of free videos from the course.

About the course:

jQuery is the predominate AJAX / Javascript library that is used by Adobe, Microsoft and many other companies and organizations.

Learning jQuery will make it easy for you to create all kinds of cool DOM and Ajax affects with very little effort. Beyond the canned menus and affects, jQuery also makes it easier for hard-core Javascript and AJAX programmers to get things done.

Thanks for reading,

Stefan Mischook
www.killersites.com

My Killer PHP Learning Tips

Thursday, September 3rd, 2009

php logo

Hi,

Learning to program can be a frustrating process for a lot of people; especially for designer types wanting to learn a little PHP. The following tips should help a lot of you along the way to becoming a PHP nerd. My PHP learning tips:

1. Be patient:

Patience is a virtue, especially when learning to program. Don’t be discouraged if something doesn’t sink in right away. It will come with time.

2. Learn to write code on faith:

… That means writing PHP code that you may not fully understand. The process of actually writing out the code, seems to help the brain take it in.

3. Learning PHP programming is a lot like learning a sport; you can pick up stuff by sitting on the sidelines and watching, but you don’t really know what you’re doing until you actually get into the game. In PHP, that means actually writing code and not just sitting listening or reading about it.

4. Take a breather:

If something is not sinking in right away, move on to something else and come back to it later … actually, give it 24 hrs to sink in. I find that the brain will work on problems over night and almost magically, things that you could not understand the day before, will become obvious.

5. Try variations in your code:

Play with different ways of doing things, try to add variation to your code. If for instance you are learning something as simple as a conditional statement .. like the ‘if’ statement, try some examples with mathematical equations and then maybe try something using a function that returns a true/false value.

6. Break your code:

One of the best ways to learn any programming language is to purposefully break code. Why? Basically it comes down to seeing what type of error messages you get for certain types of mistakes in your code. In time, you will see that particular errors will give you consistent error messages. Once you know these, debugging code will be a lot easier.

I’ve found that breaking things on purpose and in a controlled manner, can really help down the road when you run into real errors, because you will recognize the error messages.

Top of page  go to top of page