Deprecated: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/SNF/users.inc on line 1120

Deprecated: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 520

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 551

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 557

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/SNF/users.inc on line 1122

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1347

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1009

Deprecated: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 2195

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1014

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1356

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 1387

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/SNF/users.inc on line 1130

Deprecated: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/wiki.inc on line 38

Deprecated: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 520

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 551

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 557

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/wiki.inc on line 40

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1347

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1009

Deprecated: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 2195

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1014

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1356

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 1387

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/wiki.inc on line 48

Deprecated: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 227

Deprecated: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 520

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 551

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 557

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 229

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1347

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1009

Deprecated: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 2195

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1014

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1356

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 1387

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 238

Deprecated: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 265

Deprecated: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 520

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 551

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 557

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 267

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1347

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1009

Deprecated: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 2195

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1014

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1356

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 1387

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 276

Deprecated: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 451

Deprecated: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 520

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 551

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 557

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 453

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1283

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1009

Deprecated: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 2195

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1014

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB/common.php on line 1292

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/DB.php on line 1387

Deprecated: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/fhazel/include/icky/article.inc on line 461
SNF wiki: Javascript

Javascript


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 702

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 702

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 720

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/fhazel/lib/php/markdown.101c.php on line 1143

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser.php on line 180

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser.php on line 180

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser.php on line 180

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser.php on line 180

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser.php on line 180

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser.php on line 180

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser.php on line 180

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser/Filter/Links.php on line 69

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser/Filter/Lists.php on line 80

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser/Filter/Images.php on line 72

Deprecated: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/fhazel/pear/php/HTML/BBCodeParser/Filter/Email.php on line 69

We once avoided using Javascript as much as possible, but the past year or so has seen a renaissance in what used to be known as DHTML, driven mainly by the hype surrounding Ajax. Notes and links go here.

See the listing of Javascript libraries.

Unobtrusive Javascript

It’s well established by now that web pages can and should be written using structural HTML markup and CSS to separate presentation from structure. Unobtrusive Javascript is the idea that client-side code can be written such that a page’s behavior is also abstracted out of the HTML markup. What this tends to mean in practice is that, instead of littering a page’s markup with various onwhatever handlers, JS code called in the head of the document attaches those events to page elements at the time of the page’s onload event.

Pages written using unobtrusive Javascript are more elegant and arguably easier to understand; they’re also more likely to degrade gracefully if a user has disabled Javascript.

The first mention I ever saw of unobtrusive JS was in Stuart Langridge’s article “unobtrusive DHTML and the power of unordered lists.” An unobtrusive Javascript tutorial is available.

JSON

JSON (JavaScript Object Notation) is a lightweight data-interchange format.” JSON is basically a simple format for program data representation that is intentionally exactly like Javascript’s object/array notation. What this means is that if your server-side code can output JSON data, then your client-side code can unserialize it using eval() and no further parsing. This makes it much more lightweight and easier than using XML, so you can do XMLHttpRequest and Ajax without the ‘X.’

  • JSON-PHP — A JSON serializer/unserializer for PHP.

Links

[ article last updated 2008-06-16 16:08:03 by cobra libre ]