Git Product home page Git Product logo

angular-osd-resource's People

Contributors

adamburvill avatar damacisaac avatar murphyalexandre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-osd-resource's Issues

Multiple ID's or segments before URI

Hi.
I'm absolutely loving this app. People really need to understand that for a large scale app this is absolutely amazing.

In my current project to pull various data I had to create a shed load of functions in a data factory.
Then I needed a codeigniter controller with a load of functions to handle the calls. Now I'm creating one controller (api) with one function and within that aquery to call the data depending on the relationship, per old controller i.e. function child, function invoices, functions documents, and then depending on the URI segment uri segment 4 which is where your relationship usually sends.
I.e.
Www webaddress.co.uk/index.php/api/child/12/class
Or same /12/invoices
I'm doing the same as a function did before

Now I can just add relationships and the function is auto created.
And I can just use what I need and keep better track

A have a few things though.. I've tried submitting multiple ID's. I.e. I may need to send an ID for a person and and ID for a class at the same time as URI segments I.e. API/person/12/15/classes rather than 2 queries to get the same info.
To return that person and that class. But I've not been able to work it out so far
Or send multiple relationships at a time
I.e
Child/12/15/class/17/invoice
To return the class 15 detail for child 12 and invoice 17.
It's not a massive thing as in its current state it's absolutely superb. Just maybe needs a bit more fleshing out around the methods and sending multiple data.....
How would I send a serialised form with the post functionality?

Just me likely being tired, plus I'm currently on tramadol and diazepam for back pain and not quite yet fully understanding.
So more queries than issues. But I'm making several large scale applications and can do a lot of testing and helping. (Company intranet for 700 people) and a membership registration and payment gateway with several hundred users.
I've already transferred around 100 functions in a day. That would have taken me 5-10 days previously. I pull multiple days from over 200 database tables.
I've also reconfigured our app on the iOS store (built using ionic) to pull data using this rather than factory and see speed increases across the board.
Any help would be good. Sorry to rant on but you've got something great on your hands here.

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.