Effective use of JsonRestStore: Referencing, Lazy Loading, and more (1)
share
digg
by
Kris Zyp (0)
on
SitePen Blog (0)
1 week, 6 days
ago
permalink
The JsonRestStore is a Dojo Data store that provides a JSON-based RESTful interface to servers and implements the Dojo Data read, write, notification, and identity APIs. One of the core concepts of a REST architecture is hyperlinking, and this is available in the JsonRestStore through it’s referencing support. This concept enables powerful features like lazy loading and cross-store referencing that greatly improve the effectiveness and usability of the JsonRestStore. All of the features described in ...
When to Use Persevere: a Comparison with CouchDB and Others (7)
share
digg
by
Kris Zyp (0)
on
SitePen Blog (0)
2 weeks, 2 days
ago
permalink
Persevere and CouchDB are both new JSON-based storage systems, and have been receiving increasing focus. It may be informative to those interested in these new technologies to discuss the differences between these new database systems and what types of applications each is best suited for. While Persevere and CouchDB share an extremely similar JSON HTTP/REST interface and object structured data storage, there are important distinctions. Each of these different tools has a different target audience, ...
Evolving Schemas with Persevere (3)
share
digg
by
kzyp (0)
on
SitePen Blog (0)
2 weeks, 3 days
ago
permalink
Traditional relational databases have strict data schemas; all records in a table must be of the same type. With new non-relational database technologies, some databases feature schema-free tables, each record is free to have any structure desired. This fundamentally different approach to the structure of persisted data is one of the core differences between relational and non-relational databases. However, is strict-schema or schema-free always the best approach for all the components in an application, throughout ...
SitePen Blog » Dojo and Firebug Tricks for Development (5)
share
digg
by
ttrenka (0)
on
SitePen Blog (0)
3 weeks, 3 days
ago
permalink
As an Ajax developer, I’m always looking for easy ways of helping my development process—things to make development faster, easier ways of checking things, etc. Today I’ll share two quick and easy tricks I use all the time when developing web applications using the Dojo Toolkit. Trick #1: using window.location.search to enable Firebug Lite on the fly With the Dojo Toolkit, I find this trick indispensable. The basic concept is to use the original version ...
-
DaveP said:
These are soem great hints and tricks if you are developing any kind of web2.0 app.
The Interactive Prototyping Dilemma - A Review of Software Options, Part II: Balsamiq Mockups (4)
share
digg
by
ddimmick (0)
on
SitePen Blog (0)
4 weeks, 1 day
ago
permalink
Today we’re continuing our series on finding the best tool for creating wireframes, mockups, and designing interaction in a collaborative development environment. Since we’re primarily interested in solutions that fit the kind of fast and lean development environment we have at SitePen, we’re skipping some of the established solutions in favor of more down-to-earth software tools that are suitable for smaller teams and organizations. Last time we reviewed OmniGraffle from the OmniGroup, which is SitePen’s ...
JSON Schema in Dojo (2)
share
digg
by
kzyp (0)
on
SitePen Blog (0)
1 month
ago
permalink
JSON Schema is a specification for defining the structure of JSON data. JSON Schema provides the definition of contractual type constraints for describing a valid set of values for object style data structures. JSON Schema development is based on the concepts from XML Schema, RelaxNG, and Kwalify, but is a JSON-based format, so it is well suited for JSON-based applications. It is intended to provide validation, documentation, and interaction control. Defining type constraints provides a ...
Debunking Dojo Toolkit Myths (14)
share
digg
by
Dylan (3)
on
SitePen Blog (0)
1 month, 1 week
ago
permalink
The Dojo Toolkit has been around for over four years, and has undergone significant changes, both big and small, in becoming a great JavaScript toolkit. This article debunks myth and outdated assumptions (both fair and false) applied to Dojo over its four plus years of development. Dojo is Undocumented Far from it! Early on, Dojo’s only documentation was the source code. Today, we have a tremendous amount of information available, and we’re working to better ...
-
phusick said:
Great post. I have been with Dojo since version 0.3 and finally I do not have to argue with all those jQuery Ajax "Experts", who can change the color of DOM element and write some XHRs in functions;)
-
jordi said:
derrumbando falsos mitos
Inside Dojo DnD: Drag Handles (4)
share
digg
by
Eugene Lazutkin (0)
on
SitePen Blog (0)
1 month, 1 week
ago
permalink
A frequently overlooked and underused feature of Dojo’s Drag-and-Drop (DnD) module is drag handles. DnD is commonly implemented as a set of draggable elements where the entire DnD item (usually a subtree of DOM nodes) can detect the drag action. In some cases, this is not desirable: DnD items that contain active elements: links, text areas, buttons, check boxes, other common form elements. The drag action can prevent normal interactions with them, e.g., text selection ...
New Features in Dojo Grid 1.2 (1)
share
digg
by
Bryan Forbes (0)
on
SitePen Blog (0)
1 month, 1 week
ago
permalink
The last article about the Dojo Grid focused on what has changed when creating a grid using Dojo 1.2. In this article we will be covering five new features of the Dojo 1.2 Grid: Dijit interoperability, selection modes, reorderable columns, header context menus, and column hiding. The examples in this article can be downloaded in a tarball (which includes the build profile I used) so you can play along from home! Dijit Interoperability The new ...
Security in Ajax (2)
share
digg
by
kzyp (0)
on
SitePen Blog (0)
2 months, 1 week
ago
permalink
Security in Ajax web applications is of growing importance. While the client-server model is very useful for architecting web applications, the web security is model is not client-server, but rather a client-deputy-server model. Understanding this security model is important for building secure web applications, and it is becoming even more important as we build mashups and web applications that utilize cross-site resources. In a client-server model, the client acts on behalf of the user, and ...
Dojo 1.2 Grid (1)
share
digg
by
Bryan Forbes (0)
on
SitePen Blog (0)
4 months, 3 weeks
ago
permalink
With the release of Dojo 1.2 right around the corner, there’s an updated grid widget available. It offers new features and performance improvements over the existing grid including better Dojo data integration, simplified layout structures, and the ability to enable editing much more easily. In order to make these improvements, we were forced to break backwards compatibility between the new grid and the old grid. This shouldn’t be a surprise since the grid is part ...
Amazon S3 + Dojo (1)
share
digg
by
kzyp (0)
on
SitePen Blog (0)
5 months
ago
permalink
Dojo’s improved RPC and new REST services can be used with a wide array of web services. One particular use is Amazon’s Simple Storage Service (S3). Dojo can connect to Amazon S3’s with a trivial proxy and be used as a normal RPC service. Not only that, Amazon S3 is a REST service and therefore it can be used as a data store with Dojo’s new REST implementation of dojo.data, JsonRestStore. You can read and ...
JSON Referencing in Dojo (1)
share
digg
by
kzyp (0)
on
SitePen Blog (0)
5 months, 2 weeks
ago
permalink
Non-trivial data often has structures that cannot be well-defined with normal linear, acyclic data descriptions. Data that consists of cycles, many-to-one relationships, and non-local references often requires custom strategies for serialization and transfer of the data over JSON. Dojo 1.2 has added support for JSON referencing with the dojox.json.ref module. This module provides support for several forms of referencing including circular, multiple, inter-message, and lazy referencing using id, path, and combined referencing forms. These references ...