Quantcast
Channel: Heavy Objects
Browsing latest articles
Browse All 4 View Live

Automatic handling of the Rails csrf-token with ExtJS

This is how I solved my issues with the Rails csrf-token using ExtJS try { app.csrfToken = Ext.select("meta[name='csrf-token']").elements[0].getAttribute('content'); // Ensure the Rails CSRF token is...

View Article



Getting started with ExtJS

With ExtJS there are a few different ways to write code, lets start with an example: Ext.create('Ext.window.Window', { title: 'Hello', height: 200, width: 400, layout: 'fit', items: { // Let's put an...

View Article

Getting around in ExtJS

Ext is both a DOM querying and manipulation tool (like jQuery) and an application framework (like Backbone.JS or Ember.JS.) The DOM is a tree that represents the structure of a web page. Similarly, an...

View Article

Plugging ExtJS 4 themes into Rails 3.1

ExtJS 4 comes with a very nice collection of Sass theming code to make it very easy to modify the UI theme. The SDK comes with a sample theme, located at...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images