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.
Related
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.
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!
Has anyone out there integrated Facebook OpenGraph in to your iOS app using the Parse (www.parse.com) framework as your backend?
My goal is simply to post images to Facebook from my iPhone app using OpenGraph. From what I can tell, FB will not host the photos themselves - surprisingly - so I'm on the assumption I need my own backend (or Parse's in this case). (If I'm misunderstanding this, please correct me!)
I've spent most of the last day experimenting with the Facebook framework, and I plan to use Parse for much of my web services in the app, so ideally I would leverage both together and NOT introduce a separate backend/webservice (e.g. Heroku/Rails) just for simple image hosting.
..but either way I fear could get lost down a deep hole trying to implement something that will never work - web tech is not my strong suit.
I actually got this answered at a Parse.com company event here in SF, and since then have also learned A LOT about Facebook integration and posting.
The long story short is: Parse.com cannot serve as the only object in your web stack if you want to post Facebook Open Graph Stories.
In addition to simply hosting an image, Facebook Open Graph Stories require two things:
A public HTML page that Facebook's servers can reach. This page serves Facebook meta data that Facebook uses to determine how to present your image object.
A click-through link to a landing page that contains your image object.
I ended up using a Tumblr blog to host my photos, because you can 'hack' their Themes to include your own HTML headers that support FB OG Stories. It's not perfect, but for a guy without a web stack, it gets the job done!
last year I made really simple blog system. it allows user to authorize, posting, commenting. Now I want to create windows mobile/wp7 application that can adding new posts to my blog. But I have no idea how should it work. Should my web app share some api for this or my phone app should just sending specified request to server? I'm interessting how do facebook phone apps work? How they pass data to fb etc.
It would be great if anyone knows book, tutorial or something about connecting web app and phone app. I rather need app architecture tutorials than codes.
PS I know I can just open phone browser and login on website but I want to do it for fun :)
One way of approaching this is create a few actions in your controllers to return data in a format that is friendly to a WP7 app, for example, return JSON rather than HTML.
In your WP7 app you will make HTTP requests to these actions and receive the data in JSON format. From there it's up to you to handle that information on the phone.
What is the back-end of the blog system? Almost any DB data can now be exposed out as an OData Service that can be consumed on a Windows Phone app & also provide CRUD operations. Is OData a possibility?
Check out these two posts for details:
http://www.silverlightshow.net/items/Producing-and-Consuming-OData-in-a-Silverlight-and-Windows-Phone-7-application.aspx
http://www.silverlightshow.net/items/Connecting-Azure-Windows-Phone-through-OData.aspx
The second one does talk about how a central data store can be shared between web & mobile apps.
Hope this helps!
Is it possible to create a facebook app using the Vaadin web toolkit?
It is possible. At least there is one http://apps.facebook.com/possessed/ (not maybe the most beautiful one, but working). See also discussion at the vaadin forum: http://vaadin.com/forum/-/message_boards/message/169189
Definetely possible. As you have an iframe for your app in facebook and you yourself host the application so there is no limit for that. You may also want to use restfb for easily interacting fb graph api
You can create a Facebook application using any language/framework/etc. The application is loaded in a Facebook Canvas (iframe), but your application isn't hosted on Facebook itself, rather it's hosted on an external app/web server of your choosing. So, as long as your server supports the language of your choosing, you are good to go.