Naneau

Go dik-dik, go!

JsTable and Ext JS

There are plenty of interesting things you can do with JsTable. Because I had some spare time I wrote up a simple application that uses JsTable to build an Ext JS grid. The result will look something like this:

You can do this for every model you have. It will display all the fields for a [...]

Securing JsTable

After introducing JsTable there were concerns about it’s security. While the javascript itself of course can’t change your models, creating a matching controller that gives unlimited access to your database is probably a bad idea.
So I’m going to show you how to make it (more) secure. First, JsTable can be initialized like this:
123var mP = [...]