Giter Club home page Giter Club logo

Comments (2)

dcporter avatar dcporter commented on August 24, 2024

Q. Can I use jQuery-UI (or Bootstrap etc.) for _______?
A. The short answer is no. The long answer is, it's possible, but it's not recommended and will take a great deal of effort to properly integrate – to the point where it's almost never worth it.

The root technical reason for this is that the SproutCore view layer is built on fundamentally different assumptions about the DOM, in order to support some deep optimizations for the application use-case. The SC view layer assumes that it, and only it, controls the creation and updating of HTML, and that it owns event handling. These assumptions make for great applications, but tend to collide badly with standard web development techniques developed for the standard document-based web. For example, if you make out-of-band changes to a view's DOM elements, the view won't be aware of them, and may overwrite them at any time.

These optimizations include lazy DOM updating, and automatic global event proxying (and sanitizing). On balance, they are very much worth it if you're building serious applications, but it means that there are some cases where something that's simple somewhere else is more complicated here.

from website.

topherfangio avatar topherfangio commented on August 24, 2024

Q: Can't I just download a .js file somewhere?

A: SproutCore is an all-encompasing framework for developing rich-client applications. This design allows you to use only the pieces of the framework that you need to build your app. So, by design, SproutCore uses build-tools to compile all of the mini-frameworks into one, and then minifies them. This allows your apps to be built for speed and allows you to easily separate your .js files for comprehension and maintainability which is key when developing large apps.

from website.

Related Issues (15)

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.