Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic with Backbone #546

Closed
paynecodes opened this issue Feb 6, 2014 · 9 comments
Closed

Ionic with Backbone #546

paynecodes opened this issue Feb 6, 2014 · 9 comments
Assignees

Comments

@paynecodes
Copy link

I love what your doing with this project, but my current project requires the use of Backbone. What sort of roadblocks might I run into trying to integrate ionic with Backbone? I understand that much of the JavaScript logic in js/ext/angular would be useless for me, but it seems as if the rest of your codebase was written to work across many frameworks.

I'm only filing this issue because I have been doing quite a bit of digging into the codebase, and can't make up my mind if it's worth trying ionic with Backbone.

@somethingnew2-0
Copy link

Have a look at #385

@paynecodes
Copy link
Author

@somethingnew2-0 Awesome! Thank you. How far along would you say this process is? 50%? 90%?

@ghost ghost assigned mlynch Feb 6, 2014
@somethingnew2-0
Copy link

@mlynch?

@mlynch
Copy link
Contributor

mlynch commented Feb 6, 2014

Hey @jpdesigndev. Right now I'd say it's very possible to use Ionic without Angular. However, it means building and using a lot of the components through Javascript, and at this time going through the angular directives and seeing how we use the low level components.

Take a look at the low-level API on the side menu for an example of how this works: http://ionicframework.com/docs/angularjs/controllers/side-menu/

We are going to be documenting and releasing lower-level API docs soon.

@paynecodes
Copy link
Author

@mlynch Thanks for your quick response. I see that you have some low level API docs in place. I'll continue the journey and let you know when I decide how feasible this is going to be.

As an aside, it looks like your controllers and views are Backbone-esqe, so I should be able to simply extend ionic.controllers.SideMenuController, ionic.views.SideMenu, ionic.views.SideMenuContent and reference your low-level API docs to do some stuff. Am I missing something important here?

@mlynch
Copy link
Contributor

mlynch commented Feb 7, 2014

@jpdesigndev, nope, that's the basic idea. If you find them good on their own, you can just give them the DOM node for the left and/or right menu, and the center content and it'll work.

Some ones that won't work as is are the navigation system using Angular UI-router, though writing a URL-free nav system (which is what we started with) is actually a lot easier. Tabs might be a little more annoying to use without Angular, but not that much.

@paynecodes
Copy link
Author

@mlynch Thanks again. Keep up the good work. I'm going to give it a try for sure.

@jonas-db
Copy link

jonas-db commented Jun 2, 2014

I cannot find those low level apis anymore, any updates on this?

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants