Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thurloat/americano
Americano - Coffeescript Presenter/Display Micro-Framework
https://github.com/thurloat/americano
coffeescript framework presenter
Last synced: 9 days ago
JSON representation
Americano - Coffeescript Presenter/Display Micro-Framework
- Host: GitHub
- URL: https://github.com/thurloat/americano
- Owner: thurloat
- License: other
- Created: 2011-05-27T13:00:33.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-02T11:44:03.000Z (over 13 years ago)
- Last Synced: 2024-04-14T09:18:07.373Z (7 months ago)
- Topics: coffeescript, framework, presenter
- Language: CoffeeScript
- Homepage:
- Size: 186 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
_____ )
(, / | , ( )
/---| ___ _ __ _ _ __ ___ __)_(__
) / |_// (__(/_/ (__(_(__(_(_/ (_(_) \ /
(_/ \ /_)
\_/
## Adding P to your .coffee*Americano* takes a shot at being one of those new-fangled Micro-JS-Frameworks. The goal of the project is to allow any Coffeescript developer to create an MVP style application without locking them into how they like to implement Widgets or Models.
It's really just the **P**
Americano is a based on the GWT-Presenter project and it's implementation in the SheepdogInc.ca [project gTrax](http://app.gtraxapp.com/).
Framework Code is in **Americano.coffee** in *scripts*
- A very basic sample exists in **test.coffee**
- A more potent example is in **notes.coffee**
# Sample Application: *Americanotes* #As an example of how "Just the **P**" Americano is; I created a sample application called "Americanotes". Just a simple application to create, edit notes, stored in your browser. *Handy*!
Here's a Quick [video demo](http://screencast.com/t/6w3SUAL0Uw) of Americanotes in action.
A quick breakdown here shows the pieces pulled together for this app:
### Model - Lawnchair.js ###
All of the model code is written with Lawnchair, nothing in Americano to help with this; yet everything works smoothly.
### View - Nothing Special? ###
The widgets, DOM manipulation, and building are all done with standard Javascript. Animation of the Notification window is done with [emile.js](http://github.com/madrobby/emile). At anytime, you can pull it out and replace it with whatever more feature rich DOM framework that you like most! That's the beauty.
### Presenter - Americano ###
Enough said.
# Compile Steps
Compile steps have been put into `build.sh` because Coffeescript was clobbering the JS when it would over-write the old one.
./build.sh