-
Recent Posts
Meta
Neyric.com
Categories
Archives
Tag Archives: javascript
JSON Schema and inputEx
Proposed by Kris Zyp, JSON Schema takes the good ideas from XML Schema. From http://json-schema.org/ : JSON Schema is a specification for a JSON-based format for defining the structure of JSON data. JSON Schema provides a contract for what JSON … Continue reading
Posted in inputEx, Server-side javascript
Tagged inputEx, javascript, json-schema, Persevere
3 Comments
inputEx version 0.1.0 released
It’s finally time ! I just finished the first public version of inputEx. I had this project in my bag since summer 2007. Visit the website at http://javascript.neyric.com/inputex . Here is a short introduction from the documentation : Introduction inputEx … Continue reading
WireIt version 0.2.1
I made a few updates this week-end. They mostly concern the Container and Layer classes. Here are the changes: new Layer.getWiring function to save the state of the wiring. It can be customized by overriding Container.getConfig jsBox updated to use … Continue reading
WireIt 0.2.0 released
I just released the new 0.2.0 version. You can download it here. Here are the main changes: 2 new classes were added: WireIt.Container and WireIt.Layer Every project you might start using WireIt needs a widget that could contain Terminals, and … Continue reading
WireIt: a javascript wiring library
I’m pleased to announce the first release of WireIt (version 0.1) ! WireIt is a javascript library that allows you to create cool wires like Yahoo Pipes. It is built upon: the CANVAS tag to render the wires the YUI … Continue reading
dojo.storage brings new capabilities to web services
Dojo toolkit, is well known in the Ajax community to provide numerous widgets to web developper. Since version 0.4.1, it provides a way to store data on the client side trough dojo.storage. It can use multiple ways to store those … Continue reading
Javascript Coding rules
Here are some rules I constrain myself to, and that can be useful for others : Use good code conventions Check your code: JSLint (javascript tools bundle for textmate make it automatic) Minification of your code: JSMin GZIP the code, … Continue reading
Tagged javascript
Leave a comment
Singleton pattern in Javascript
If you’d like to create just one instance of a Class, you’d better use this singleton pattern: var singleton = function() { /* Private variables */ var privateVariable; /* Private methods */ function privateFunction(x) { // do something here… } … Continue reading
Tagged javascript, pattern, singleton
1 Comment
Autocompletion with Rails and Scriptaculous
Scriptaculous offers a nice autocompletion component that integrates quite well with Ruby on Rails.Here is a link that shows different ways to plug it in your rails application: http://www.slash7.com/articles/2005/08/13/ajaxariffic-au…
YUI improved Ajax
“The Yahoo! User Interface (YUI) Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX.” I found YUI very helpful for my applications. It’s … Continue reading