Comments (10)
It's definitely something I want to happen. Any chance you can detail how you'd like the integration to work / how you envisage the interaction between Angular and Forerunner? I'm going to be looking into an Angular mashup soon :)
from forerunnerdb.
It's as simple as to make Forerunner a service so I can call it from within controller
Also take a look at ngStorage implementation
https://github.com/gsklee/ngStorage
from forerunnerdb.
Ahh I see! That's pretty cool and easy to do. I'll sort it out in an upcoming release, thanks for the feedback! :)
from forerunnerdb.
This feature is now on the roadmap due in version 1.3.0.
from forerunnerdb.
yeah, that would be awesome, and agreed just like ngstorage would be sweet
from forerunnerdb.
👍
from forerunnerdb.
Please, make it (un-)pluggable, so I can drop it, if I don't need it.
from forerunnerdb.
Don't worry, almost all of Forerunner's functionality is modular anyway. The main part of this modularity becoming useful to the end user (such as yourself) will be the inclusion of a build page that allows modules to be selected and a build produced. Forerunner was built with that in mind so it will be quite easy to put that page together.
from forerunnerdb.
AngularJS support is now available and we are using it in a real-world app using ionic to give it a proper battle test.
We'll be updating the documentation to include an AngularJS section shortly.
The AngularJS support currently allows you to bind a collection or view to a model name that is then accessible in the passed scope. This allows you to use ForerunnerDB methods to do CRUD operations on your data which are then automatically reflected on your views.
The data can also optionally update automatically in the opposite direction so data in text entry fields or whatever can be edited by the user and reflected back to ForerunnerDB.
Since AngularJS is so popular we will continue to support integration and take feedback and input for the plugin to help make it the best it can be. An example ionic app will be made available as well to demonstrate how to use the integration.
from forerunnerdb.
OK the documentation on the dev branch has been updated with an angularjs section explaining how to use the forerunnerdb service.
An example Ionic app is also available in the repo.
from forerunnerdb.
Related Issues (20)
- Clarity about find(); HOT 2
- upsert that resolves to update does not update fields that start with '$' HOT 5
- TypeError: http.IncomingMessage.prototype is not an object or null HOT 6
- Support for $not operator HOT 3
- Interactive Demo HOT 1
- index not used when using query operator
- collection.load is very slow HOT 1
- Loading JSON file into forrunner db file and vice versa ? HOT 8
- Duplicate data when setData and ensureIndex HOT 1
- Adding event listener with an ID does not work HOT 2
- Dropping condition does not remove memory reference
- $replace with new documents?
- How does load work? HOT 2
- using Date query with $gte and $lte operators. HOT 3
- Typescript is outdated HOT 3
- Where can i find the database file?
- Weird query behavior when using elemMatch
- WebWorker import ForerunnerDB
- ⚠️ Web SQL is deprecated
- How to query condition on comparing 2 fields?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forerunnerdb.