Use PHP Functions in JavaScript

Posted by Dan | Posted in JavaScript, PHP | Posted on 10-15-2009

0

PHP.JS is a great JavaScript library that I don’t often see in overwhelming lists of JS Libraries out there. A few folks decided to port many PHP functions to JavaScript. Wicked cool! I suggest you take a look at what’s ported so far – there’s a whole bunch. Definitely check it out!

Google Code Playground

Posted by Dan | Posted in Development, JavaScript | Posted on 10-11-2009

2

Don’t know how long Google Code Playground has been around, but it’s a mini-editor that will let you code in JavaScript (with color coding!), interpret it on a bottom panel, and even show you results from various Google API snippets. Awesome tool.


code-playground

JSDB from Aptana Studio

Posted by Dan | Posted in Development, JavaScript | Posted on 10-09-2009

0

Aptana Studio is a great free IDE for JavaScript. By default, you can use the its Jaxer engine to interpret your JavaScript code. However, if you prefer to use JSDB, a more console-oriented interpreted based on Mozilla SpiderMonkey, keep reading. This will set you up so that from Aptana Studio, you can write JS code, and interpret it by hitting F5 and seeing results in the bottom panel.

1. Select External Tools

1

2. Enter the following in the textboxes:

2

Make sure the path to your project doesn’t have spaces! (bug with Eclipse)

3. Set the hotkey to F5 so it runs the external tool:

3

JavaScript for the Windows Command Console

Posted by Dan | Posted in Automation / Scripting, Databases, JavaScript, Systems | Posted on 09-26-2009

0

JSDB is a great JavaScript interpreter based on Mozilla’s Spidermonkey JavaScript engine. If you like working off the command console, I suggest you give it a go. Of course, not everything is supported, as there is no HTML/DOM context in the console. To compensate for it, the author of this tool has added some great features, like being able to connect to databases, use includes ( easily via the load(“file.js”) function ), and other network facilities, like fetching HTML content from other websites.

jQuery JavaScript Encryption

Posted by Dan | Posted in JavaScript | Posted on 09-20-2009

0

jcryption

This is a neat way to encrypt form fields on the fly when submitting. Good way to add another layer of security. This is a jQuery plugin that uses the public-key algorithm of RSA.

NES Emulator in JavaScript

Posted by Dan | Posted in JavaScript | Posted on 09-18-2009

0

super-mario-bros-duck-hunt-u-_001

This is pretty impressive. It’s an emulator in JavaScript. I’ll have to see how many instructions get run through the profiler and how it reads the binary ROM file (perhaps it was converted beforehand).