Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

SpinetailA rapid-web-application-prototyping framework in javascript DocumentationAboutPlease read the README Spinetail is a lightweight javascript framework designed to help developers quickly and easily create working prototypes of web applications. Unlike other javascript frameworks Spinetail ... [More] is not designed to be secure, robust or comprehensive. Instead Spinetail has no external dependencies, is small, fast, easy to learn, easy to use and easy to setup. With Spinetail you don't need to spend time configuring a server or otherwise setting up a development environment. Spinetail requires no server configuration or setup of any kind and can run in any browser that supports javascript and AJAX (active internet connection not required). Simply download spinetail to a web-accessible local directory, or upload it to a public-facing web server then get started prototyping your application using an MVC architectural pattern, javascript and HTML. When to Use SpinetailUse spinetail when you want to prototype a web-application before you start on the production or development builds, and possibly before you even decide on what technologies the web application will use. You may have some static wireframes to work off of or a written specification, but in either case you need to see the program in action at an early stage. Strengths and WeaknessesStrengthsSpinetail FrameworkWritten entirely in javascript 72K uncompressed including all third-party code Global abatement to prevent clashing Exception handling No server setup Extremely simple templating URL parameters automatically mapped to global object Spinetail ApplicationsMVC architectural pattern Simple CRUD Interface (Create, Read, Update, Delete) Views are plain HTML Controllers are javascript Applications can be distributed easily (e.g. zip your app and e-mail it) WeaknessesSpinetail FrameworkNo POST support Spinetail ApplicationsModel data is not persistant SetupBasic setup consists of three simple stepsUnarchive spinetail into a web-accessible directory (e.g. ~/Sites/spinetail on Mac OS X) Open index.xml in an editor of your choice and set the base href tag to point to your root spinetail directory Open index.xml in a web browser If you want to use a model there are two additional stepsFamiliarize yourself with Taffy DB (http://www.taffydb.com) Create collections in /_model/collections.js Getting StartedCreate a new view file named "hello_world.html" and place it in the /_view directory. Edit hello_world.html to include only the following text: %%replaceMe%% Next create a new controller file named "hello_world.json" (views and controllers always have the same file name) and place it in the /_controllers directory. Edit the hello_world.json file to include the following code: { /* If you want to use comments in your controller they must be of multi-line type, not // */ documentTitle: "Hello World!", main: function() { document.title = this.documentTitle; return spinetail.replaceInView(arguments[0], "foo", spinetail.currentParameters.replaceWith); } }Ask spinetail to dispatch your new view, and deserialize your new controller by visiting: http://yourdomain/path/to/spinetail/index.xml?view=hello_world&replaceWith=Hello%20World! Your controller's methods and properties are now mapped to the spinetail.currentController object All of the parameters you passed in the URL string are now mapped to the spinetail.currentParameters object Properties and methods defined in globals.js are now mapped to the spinetail.globals object Your model is mapped to spinetail.model For basic functionality, that is all there is to it. If you want to work with a model, read the "Working with Model" section below. Note: Controllers can of course contain any number of properties and methods, but only the main method is executed when a view is dispatched. If you want a specific method within your controller to be executed when you dispatch a view (AKA onLoad), make sure to call it from main. Working with ModelsOnce you familiarize yourself with Taffy DB (http://www.taffydb.com), working with models in spinetail is really very simple and intuitive. Data can be created, read, updated and deleted from "collections" by creating simple methods in your controllers. The important thing to remember though is that in spinetail, data is not persistent. Meaning any changes made to a collection's data revert during the next page load. The exception to this is data that is defined in the collections.js file, when a collection itself is defined.If you need data to persist you can modify spinetail to write cookies or use some sort of server-side data store. What's a "Spinetail"It's a bird. Try a google search for "spinetail bird photos." [Less]

3.0
   
  0 reviews  |  1 user  |  320 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 

Obullo is a Lightweight MVC based Php5 Framework for the PHP Coders who need a simple web toolkit to create full-featured fast web applications. It focuses on being simplicity , readability , performance and writing speed , well documented and easy to use, while solving problems intrinsic to web development.

4.0
   
  0 reviews  |  1 user  |  0 current contributors
 
 

FAT-FREE is a powerful yet lightweight PHP 5.3+ Web development framework designed to help you build dynamic and robust applications - fast! Condensed in a single 55KB file, the framework gives you access to an all-purpose template engine, flexible cache, integrated unit testing tools, and code ... [More] profiler. It's so small and fast - it even has a bandwidth throttle for controlling Web server traffic. It's also the only framework that shields you from spam, bandwidth theft, and DoS attacks. Fat-Free is also packaged with optional plug-ins that extend its capabilities. There's the Axon ORM and the M2 MongoDB mapper to help simplify database access, an easy-to-use SQL handler, and more! Unlike other PHP frameworks, Fat-Free aims to be usable - not usual. [Less]

5.0
 
  0 reviews  |  1 user  |  22,758 lines of code  |  1 current contributor  |  Analyzed 7 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.