-
Notifications
You must be signed in to change notification settings - Fork 14
Here are some questions we received, and our answers...
Yes. Cobalt is meant to be an hybrid framework, not a all-in-one HTML5-only framework. You can use Cobalt in only one view of your app, just to show an ad, mixed with native content in a small part of the screen or anything. All you have to do is include the framework in your app as described for ios and android and have fun!
Each view of the app will be in a separate html page so you will have to use localStorage or the native side to keep the context between your views.
You can still use the same app.js file in the whole app and so, be aware on which page your user is. We will add more information about this soon. In the meanwhile, have a look on the Catalog sample www code!
It depends : If you only want to display a few HTML pages in a native navigation, you will only need to have the install native IDEs, open an Android or iOS project and press the play button.
If you want to use some plugins, you will need a low level of iOS/Android knowledge.
If you want to create a real hybrid app, mixing both native and web, well, then you will definitely need some native skills, or friends...
Yes. And it will remain free.
No, it's not planned yet. But if you find that our documentation is lacking of something, tell us, we will try to improve it. You can also use the issue tracker to ask for help.
Yes you can. You can use any javascript framework you like. But keep in mind that every page will have to be in a separate html file, so you won't be able to use those frameworks navigation system.
Cobalt is easier than Cordova to build hybrid apps with a lot of exchanges between web and native. It has a built-in native navigation which definitely adds a lot of speed to your app.
We think Cobalt is more flexible than Cordova too.
But we admit that Cordova has a way larger and complete API to access native resources and functionalities directly from the web.
We hope that our plugin system will help to reduce this gap and solve more of the app-makers needs.
Sencha Touch is more a UI framework than an hybrid framework. The Sencha Build feature only encapsulates the web in a unique controller. So Sencha Touch has got, on mobile, the same drawbacks than Cordova : a lack of speed in page transitions and a lack of native feel.
Well, we believe trigger.io is probably the hybrid framework that works the most like Cobalt. But we admit that we haven't really tried this framework because of the price : It's way too expensive for most apps!
Cobalt is free. Make your choice! :)
Despite the hype around Ionic Framework those days (Good work, guys!), Ionic is still a UI framework built on top of Cordova. No native navigation. So unless you have very good Javascript and CSS skills, you will hit the same limits than Cordova as much as your app grows.
The global idea of the two framework are very distinct :
-
With Telerik you write your app in XML, a reduced set of CSS styles and a JavaScript API. The whole thing generate a native iOS and a native Android app. Main drawbacks are that there is a whole API to learn and maybe a lack of customization.
-
On the Cobalt side, apps are using classic HTML/CSS/JS and native code. There is a JS API to easily exchange with the native side and access some native components, and (most important feature) a JS API to use a native navigation between web pages.
The most active cobaltians are for the moment the Kristal crew. People at Yool are also helping a lot.
As an Open Source project, we are more than happy to work with others! Have a look on our contribute page.
Send a mail to [email protected] or drop us a note on twitter to help us completing this list.
Cobalt is an Open-Source Hybrid Mobile Framework. Read more about it on the home page or in the documentation
- Introduction to Cobalt navigation
- The cobalt.json file
- native navigation bars
- Handling the Android back button
- Introduction to Cobalt messages
- Publish/Subscribe on the Web side
- Publish/Subscribe on Android
- Publish/Subscribe on iOS
- Web Lifecycle messages
- Pull-To-Refresh and Infinite Scroll
- Custom alerts and Toasts
- LocalStorage
- OpenExternalUrl
- PlatformInfos
- Ajax
- Removing the top bar
- Adding Cobalt to an existing project
- Customizing your hybrid views
- Handle multiple Cobalt webviews on the same screen (TODO)