Introducing RIB

437 views
386 views

Published on

Backbone.js flavored JavaScript framework.

Published in: Technology, Spiritual
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
437
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introducing RIB

  1. 1. RIBJavaScript that supports new /find/ page
  2. 2. HAVE YOU SEEN/FIND/ PAGE YET?
  3. 3. CONCEPT• The best modern browsing experience• NOto the page refresh, unless you really need it• Let me copy-n-paste the url, and work as it should.
  4. 4. ISSUES• When I started to build by myself, it was a monolithic .js file• It was hard to collaborate with others• and even for myself, it gets harder to add/ replace functionalities
  5. 5. SOLUTIONS?• is a new big thing in JavaScript world.• MVC sounds promising (if you like)• BUT the framework’s assumption is different from what we have here.
  6. 6. INTRODUCING RIB
  7. 7. RIB• This is meant to give you a guideline of how you SHOULD organize your project.• Abstraction of HTML <form>. • <form>:PageController, <input>: Presentation• Requirement for Presentation: One DOM, name, getValue(), setValule() and render()• Loosely-decoupled: communication between Presentation is event broadcast by $.trigger()
  8. 8. FUTURE THOUGHTS•A few more utility methods• building mechanism improvement• testability

×