What is Ajax?

JJG on Ajax: “Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together in powerful new ways. Ajax incorporates:

  • standards-based presentation using XHTML and CSS;
  • dynamic display and interaction using the Document Object Model;
  • data interchange and manipulation using XML and XSLT;
  • asynchronous data retrieval using XMLHttpRequest;
  • and JavaScript binding everything together.”
Ilya

To single quote or not to single quote?

If ever in need of some practical information on optimizing PHP code, John Lim’s howto is a great resource. The article has been kept up to date with changes in PHP, and serves as a reminder to focus on what really matters in optimization.

There has been some discussion lately about whether it worthwhile to use single quotes over double quotes in PHP. Yes, it’s faster to use single quotes since PHP doesn’t have to look for variables within a string. But no, it’s not really worth the effort to use single quotes exclusively. Why? Most significantly, the performance gain is neglible (if you need more speed, this isn’t where you’re going to get it). And secondly, if you have to change code (or coding practices), you’re only making it harder to read and creating more work.

I’ve heard people advocate extreme optimization before. My favorite was the tongue-in-cheek school of thought that recommended that all HTML code be parsed so that tags with long names are replaced with shorter ones, and all “unnecessary” whitespace be removed. The browser doesn’t care what your code looks like, and the less whitespace there is, the less data there is to transfer.

Ilya

Usable XMLHttpRequest forms

Baekdal demonstrates usable XMLHttpRequest forms in practice. He makes a good point that plain-vanilla HTML forms actually have some things going for them in the usability department; designers need to be aware of these when creating forms with more advanced features and behavior.

Ilya
  • Ourmedia.org provides unlimited hosting for audio, video, images, and text, for free, forever, provided that it is licensed under the Creative Commons. Backed by the Internet Archive.
  • Debunking design myths of newspaper design.
  • Home
  • About
  • Preferences


RSS

March 2005

Mon

Tue

Wed

Thu

Fri

Sat

Sun

 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

Feb   Apr

Beared souls

caught together