Currently i am using django-oscar as my self hosted ecommerce solution to allow for merchants to have standard abilities such as uploading products, inventory management, etc.. on the backend.
The marketplace however will be on our native IOS app (currently live). We are thinking of using django-tastypie to create the API and transfer data back and forth from the admin to marketplace(on the app).
A few questions i have:
How would we go about creating the checkout process, shopping carts and etc? Hosted ecommerce solutions such as Shopify have IOS SDKs to handle shopping carts checkout and etc on the IOS side of things but django-oscar from what I see doesn't have such SDK.
How would even sending the information back to the admin dashboard(from the IOS app) to update our merchants orders, inventory management, etc work? django-oscar only seems to cover how to do so with web based apps but not with a native IOS app.
Nothing around the web seems to explain this particular scenario at all, and I was hoping someone in the development community could lend some insight into this arena, and connect the dots.
*we are using swift for our IOS app
Thank you!
I'd recommend checking out Django oscar API, I think it does exactly what you need!
creating api is the way to do it. django-oscar is having schema for cart that can be reused. With django rest framework, we can easily write the apis for add to cart, delete from cart etc. I would recommend django rest framework (http://www.django-rest-framework.org/) instead of django-tastypie. django rest framework is easily understandable for a django developer, because it is more django like than tastypie. rest framework has web browsable api as well.
Related
I have a website made on opencart and now I want an ios app for my website which dynamically loads data from the website. their database should be integrated so that when a change is made to any one of them it should make changes on both website and application.
Does someone provide me that API??
I dont think there is an API like you wish. You have to develop an API gateway as a middleware between your mobile apps and OpenCart backend. And I think it’s a simple job since all your data already exists in OpenCart database.
So my current task at the company I'm interning with is to create a mobile version (iOS) of a web app written using Flask, HTML & CSS that currently exists and is being hosted on AWS's EC2. Assume I'm a complete noob at AWS and only just learned that EC2 is a cloud computing service.
Essentially, I just want to be able to reflect what's currently on EC2 over to a mobile app in a secure fashion. I guess I'm just trying to avoid rebuilding something in Swift that's already been done. For those familiar with WebView in Xcode, I tried to use that to reflect the web page, but it didn't work (I assume because our web app on EC2 requires login credentials when you open it in a browser?).
I thought that maybe using AWS's SDK for iOS would net me some luck, so I installed cocoapods and setup a pod, but don't know how or which of these AWS services will help me achieve what I'm trying to do (from reading the documentation, it seems like their purpose is for building an app, not necessarily just projecting a webpage with data already in it).
For some more information, some key features that I think would be useful for our clients that would be using the app are:
The ability to persist data on the app when their device is offline
Some sort of temporary logins for the users. This app wouldn't be distributed through the app store; it would probably just have to be locally downloaded onto certain clients' devices
Lastly, I saw this post come up before creating this one: Does REST API for mobile apps hosted on https protocol web app will be slow? and I noticed that the asker of this question said "Lets say I have built a mobile app running on Android and iOS platform and REST API's for these apps lie under https based web application." This possibly sounds like something that could be helpful, and if anyone could explain what s/he meant by REST API's and what they are, I would be very grateful.
Any advice on how to proceed from here, using anything, would be much appreciated. Thanks!
I'm looking into making a new app which integrates heavily with Twitter, and I'm trying to find out if the Accounts and Social framework is capable of that.
It's worked in the past for basic calls, but it's not stated anywhere what its limits are - can it be used for a full-blown Twitter app?
Integrating with Twitter manually, I know involves asking the user to sign in, and means a cap of 100k tokens. Are there any caveats of using the Social framework instead?
You can use the API without users signing in to view most everything. Read the docs: https://dev.twitter.com/rest/public/search
I have a question as I have been looking for the answer on google, but I don't know how to phrase it correctly :P.
I am writing a little app for iOS using Facebook API. I would like apps to communicate between each other, not a lot, just a little bit of data, between users who use that app. Does Facebook support something like that or do I have to implement my own server side in order to have such behavior?
Facebook doesn't support anything like that. You will have to develop your own backend for something such as that. Each of the App's Users who log into Facebook, create a corresponding User in your backend database, storing the Facebook ID of that person. Now you're building your own database where you can handle relationships, and communicate with each other.
I am looking to create a basic site which allows users to login (either through email or facebook authentication) and post their photos for other users of the site to comment on. Much like with like Facebook, I wanted posting, deletion and viewing photos/comments to be possible through an iOS app and through the site itself.
I have been carrying out a bit of research myself, and I can there being the following options:
Create a site in Django, and use the API framework Tastypie to allow the user to use the get/post/delete commands from an iOS app
Create a site fully in Django, and make this compatible with iOS devices using PhoneGap
Do you have advice on what approach to take - and whether there are alternatives?
It all depends. Do you need hardware functionality that only ios can provide?? If not it would probably be easier to create a web api and build a mobile optimized version of the site. This would let you build your business logic quickly in python. you could them build the client using jquery. This would provide the advantage of being optimized for any mobile device.