Survey Up for a Beta Test?

5/9/2005 ↓

SACK: Simple Ajax Code Kit

Please subscribe to our RSS feed for new articles. We report on Wordpress news, themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. You can also receive updates from this blog via email if you want that method of notification.

The Simple Ajax Code Kit (SACK) is a javascript library that takes the hassle out of AJAX programming.

This could be especially useful to any WordPress Plugin authors out there that don’t want to spend time messing around with code that isn’t directly to do with their plugin. Implementation is as simple as three lines of code so it makes your code look a lot neater as well.

Key features are:

  • Simple and light to implement.
  • Addresses security issues that toolkits such as SAJAX have.
  • Handles international strings (UTF-8).

Full documentation is available at the link above, and it will soon be part of other plugins such as WordPress: Touched. Enjoy, I hope you find it very useful.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4 out of 5)
Loading ... Loading ...

Friends

Translate

Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

Latest Videos

14 Comments | Leave a comment | Comments RSS

  1. Nice, Thanks!

    I’ll be giving this a look for at least two projects.

    [Reply]

    Anton Olsen (5 comments.) — 05/9/2005 @ 12:15 pm
  2. I’ll be interested to see them :)

    [Reply]

    Greg (1 comments.) — 05/9/2005 @ 3:11 pm
  3. [...] tations of AJAX (still a funky term for me) I am going to be looking at this today. (Via Weblog Tools Collection.) [...]

    Sam’s random musings » Simple Ajax Code Kit — 05/9/2005 @ 7:15 pm
  4. [...] k it out and bookmark it, in case you ever need to do some quick and simple ajaxing via Weblog tools collection This entry was po [...]

    atog » Blog Archive » SACK. — 05/10/2005 @ 10:23 am
  5. SACK: Simple Ajax Code Kit

    SACK: Simple Ajax Code…

    SACK: Simple Ajax Code Kit — 06/13/2005 @ 3:05 am
  6. cash games

    SACK: Simple Ajax Code…

    Janna — 06/25/2005 @ 1:09 pm
  7. Nomad Muvo MP3 Player Usb Flash Drive

    SACK: Simple Ajax Code…

    Lew Backed — 06/26/2005 @ 3:51 am
  8. The only problem with SACK is, that it only supports UTF-8

    [Reply]

    Breci — 07/1/2005 @ 8:01 am
  9. I eat my last comment for breakfast. There is no problem with sack… The problem was with me using it. You have to set the right headers for script that loads in DIV and of course you have to convert passed variables from utf-8 to whatever encoding you want.
    Example:

    header(”Content-type: text/plain; charset=windows-1250″);
    header(”Cache-Control: no-store, no-cache”);
    $_POST[variable_name]=iconv(”utf-8″, “windows-1250″, $_POST[variable_name]);

    [Reply]

    Breci (1 comments.) — 07/4/2005 @ 7:11 am
  10. That’s correct SACK only supports UTF-8 as JavaScript only encodes as latin-1 or UTF-8. Obviously to support anything other than english SACK had to use UTF-8.

    Using iconv as Breci is doing is a perfect way to convert the UTF-8 data, if you need to, to another format (but unless you *need* to, try to use UTF).

    [Reply]

    Gregory Wild-Smith (7 comments.) — 07/4/2005 @ 5:46 pm
  11. Benassi Bros

    SACK: Simple Ajax Code…

    Alice Hollund — 07/5/2005 @ 7:46 am
  12. SACK: Simple Ajax Code Kit

    SACK: Simple Ajax Code…

    Metle Skanye — 07/24/2005 @ 6:25 am
  13. Blocking Trackback Spam Using WordPress 1.2

    Every day I get a number of trackback spams that I have to delete manually as part of my morning email processing ritual…

    AjaxBlog — 01/12/2006 @ 8:51 am

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required, will not be published)


S2