KillerSites Blog

Month: June 2006

Book Review: AJAX Hacks

June 25, 2006

A collection of AJAX hacks (recipes) coupled with intelligent discussions. A good book to buy for anyone interested in AJAX and modern web application development.

The book begins with a great introduction to AJAX and then provides a useful grab-bag of commonly needed AJAX applications.

For example:

  • Processing Web forms.
  • Validations: credit card numbers, email addresses etc …

What are AJAX ‘hacks’?

AJAX ‘hacks’ are concise code samples that can be used as ‘components (if you will,) that you can plug into your own work.

Besides the usefulness of having a reusable collection like this, you can learn a lot from the ‘hacks’, since each one is coupled with a good discussion.

Some highlights:

  • Ruby on Rails and AJAX discussions
  • Examination of the open source AJAX libraries like Scriptaculous and Rico.
  • The concise and clear coverage of AJAX basics.

As with all O’reilly books, the writing is clear and concise and well presented.

Note: this is not a beginners tutorial … you will need to be able to work with and understand JavaScript.

read more

Book Review: Programming PHP 2nd Edition

June 23, 2006

Co-written by the guy who invented PHP (Rasmus Lerdorf,) this is a must-buy book for anyone getting into PHP or web programming in general.

What can I say; this book is so well written and to the point, that I found that the information seemed to just flow from the pages.

Who is this book for?

This is not a book for someone just learning how to program; it is for everyone else though.

Both programmers new to PHP, or PHP programmers with (at least) a basic understanding of PHP, will find this book to be very handy to have around.

The book does not try to cover everything about PHP… though it does cover things like:

  • graphics
  • xml
  • pdf
  • databases

… instead it gives the best coverage of the core language I’ve ever read.

Buy the book.

read more

Book Review: Beyond Java

June 23, 2006

A small book that takes a critical look at Java and other languages (Ruby, PHP, ) at a moment in time.

I say ‘at a moment in time’ because this book will lose relevance very quickly – even more quickly than the typical nerd book.

In a nutshell:

  • You get a brief history lesson on languages and their problems.
  • You get a perspective of the problems that Java developers face.
  • You get perspective on the subject from interviews with several big-wig names in the field.
  • You get an overview of Ruby and Rails.

My complaints:

  • The author likes to introduce his chapters with kayaking stories that are suppose to reflect what he is about to talk about … I would just skip those parts because I am not into kayaking.
  • Question of accuracy: he mentions (page 174) that PHP does not have enough structure. This is a silly statement given that there are SEVERAL PHP frameworks out there that provide the exact same structure as Rails – some even copy Rails.

Conclusion:

I liked the book and it was a worthwhile read. It has a few problems but it does open your eyes to things.

That said, the title of the book should have been: ‘Beyond Java and why I love Ruby’.

read more

Book Review: Ruby For Rails

June 23, 2006

Ruby For Rails connects the dots between Ruby and Rails.

In a nutshell:

This book looks at how Rails uses Ruby, and in so doing, you learn a heck of a lot about Ruby programming.

Ruby For Rails goes into detail about basic Ruby, enough so that I think someone new to Ruby, could learn enough about the language to be able to build web applications. But, the book is not a comprehensive Ruby reference – there are things that are not talked about.

The thing I really liked about the book, is the way the author introduces a concept and then shows you how Ruby or Rails implements that concept in a practical application.

For example:

You are introduced to a Ruby construct called a ‘module’*.

  • You learn what a module is.
  • Why Ruby has modules.
  • How Rails uses modules and why.

I am glad to have this book and think anyone interested in learning Ruby and /or Rails, should get it.

* Ruby modules are programmatic constructs that are like classes (they have methods and constants,) but they are not directly instantiated like a true class.

Instead, modules are created to be inserted into to classes or objects to give the host class or object the extra functionality. Often modules are referred to as ‘mix-ins’ because modules are mixed in to classes.

read more

Spamtaculous-spamming clogging my blog!

June 21, 2006

I have to tell you, that this blog spamming is really getting out of hand – I even get dozens of Chinese spam clogging my blog every day. In total, I must get 200 / day!

Besides being annoying, blog and message-board spamming are next to useless, in terms of promoting websites …

Will they ever learn?

Answer: No.

There must be a way to fight back as we did against email spam. But how can we mount a counter-spam-attack on the spammers?

Geocities Jerks

One common tactic for spammers is to set up Geocities websites and then try to get people to visit them … Geocities has to come up with some better policing of their system.

read more

Web 2.0 Explained

June 8, 2006

Web 2.0 Explained

The Internet is buzzing these days about the emergence of what people call ‘Web 2.0’. It’s important for web designers to understand what this is, because it affects all web design.

IN A NUTSHELL: Web 2.0 is a combination of factors/elements that leads to a much more social, interactive Web. Here is a short list of some of the key elements that make Web 2.0 possible:

  • AJAX allows for the rise of the truly ‘rich’ Web user experience: web pages that act like desktop programs … no need to refresh entire pages to see new content on the page.
  • Auto-syndication (sharing of content) via RSS/XML feeds – and software that allows you to easily create and access these XML feeds.
  • New ways to mass-communicate over the Web – podcast (mp3) and video.

BLOGS GOT THE WHOLE THING GOING

Blogging tools like WordPress and TextPattern got the whole thing going: most blogs automatically create RSS feeds.

Blogs also make it easier than ever before, for people to write content for the Web. No need for Web design software like FrontPage or Dreamweaver and no need to know HTML.

As such, there has been an explosion of content creation of the Web: people are writing like crazy! The three points to take away from this is:

  1. Blogs make it simple to (essentially) create web pages.
  2. Blogs automatically syndicate/share content via RSS.
  3. Blogs make it easy for readers to interact with blogger’s (the authors,) via a built-in system that allows people to make comments … the social aspect enabled.

WEB 2.0 IS MORE THAN JUST BLOGGING

Another major characteristic of Web 2.0 is the remixing and combining of information from many different sources.

For example:

A Web 2.0 web site may grab many RSS feeds and massage them into a new filtered presentation. The advantage is that users can now access this information from one spot, instead of having to visit many different sites.

CONCLUSION

This (automated) sharing and mixing of content/information (between people and websites,) along with ‘rich’ Web user experience is Web 2.0.

… and you thought it was something more!

🙂

read more