Git Product home page Git Product logo

foundation's Introduction

What is Foundation

It's a MVC microframework for Appcelerator Titanium Mobile that adds some niceness and helps you to keep your code tidy. Right now there are just a couple of methods, but it should give enough separation between controllers and views.

Foundation works only with Titanium Mobile 1.5.

What's inside

  • Ability to work with Android and iOS. Use the same syntax to do the same thing (See Foundation.UI.createMenu for instance).
  • The ability to have platform-specific views or to override a default view given a platform. Just place your view file under Resources/iphone/Views, or Resources/android/Views, and it will be picked.
  • Window templates: specify a dictionary of properties for a window and it will be automatically applied on-the-fly to all your windows. It comes in handy when you want implements color schemes or themes.
  • NEW! Remote windows: the ability to download and use remote files containing Titanium code. Check it out on FoundationTest!
  • Views: open and create windows easily. Create a tab group and assign windows to it. Store windows in a central place so that will be accessible from the controllers. No need to specify icon and file paths. Spaces allowed.
  • Storage: runtime storage, both persistent (through Ti.App.Properties) and volatile, useful to store and share data and object among execution contexts. Can be used in conjunction with Ti.App.addEventListener to pass data other than JSON. It features a live key listener watching event, so that you can perform actions when a value changes or goes away.
  • Request: JSON/JSONP support that automatically does the JSON parsing for you, passing GET parameters as dictionary and built-in HTTP basic authentication.
  • A KitchenSink-like test suite (hopefully should provide some docs too).
  • API documentation, both online and throughout the code.
  • Possibly some bugs.

What's coming

  • Enhance what a platform-specific view can do for you.
  • The ability to package a Universal App (that is, a single build that fits both iPhone and iPad).
  • Database API.
  • Much more.

License

MIT license.

foundation's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.