REST api for database driven mobile app [closed] - json

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am developing a django web app(just for fun/learning) where users can sign up, ask questions on a certain topic and provide answers. It is all working just fine but I want to learn mobile app development so looked into moving that web app to be a mobile app using phonegap or something similar (recommendations welcome).
From my research it seems that, in order to serve up the data to the mobile app, as REST API would need to send the data as JSON which would be displayed in the app, at least for Phonegap anyway.
Would I be right in thinking that converting the django app to just be a REST API which serves the JSON to the app is the right way of going about things or have I gotten the wrong idea? (I am just learning the concepts of REST apis so apologies if that makes no sense).
Perhaps another framework would be better for creating the API or another approach all together?
I am not tied to any language or framework as I am just using the project to learn.
Thanks for your time.

For a PhoneGap app you don't want to use Django to render the HTML, you just want the PhoneGap app to authenticate and communicate to Django via an a web service (here a REST interface, in JSON format e.g.)
This is one possible way to implement REST server on Django: http://www.django-rest-framework.org/

Related

Web Application - which programming language? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 days ago.
Improve this question
I am planning to transfer my actual project from PowerApps to an web application and learn a programming language at the same time.
As the selection is very big, I can't decide which language would meet all requirements and what would be the best to learn (also for the future projects maybe); PHP, Python, Java, etc.
The application has the following features:
PDF: uploading, managing and drawing of PDF files in a window, also generating of PDF files with API with the input data
simple data input/output (forms or templates) and showing the data later to another users
taking photos / uploading of photos directly to the form for the later use
some basic dynamical data presentation
pop-ups; if something is typed, show some data according to the string, etc.
automatic generation of e-mails with selected data / typed string(s)
and so on...
Basically, I'd like to transfer and create the possibilities of PowerApps to the standalone web-project-application. As I got some experience with PowerApps already, it would be nice to make myself independent and learn some real programming language with a MySQL connected to the project.
Could you please help me to choose?
Thank you and best regards,
Rivisde
PowerApps, MySQL basics, general understanding and logic of programming, Debian-Server management, PHP small basics

Free Web Host Service *Without* Web Builder? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I found a few web hosting services that look great (e.g. Google Sites, Wix, etc.) but none seem to allow to just upload an HTML file, rather than embed HTML code in a website that was created using the provided web builders.
Anyone know of a web hosting service that allows to just upload complete pre-coded HTML files rather than having to go through a web builder? Or is it possible with the two websites I mentioned above?
Thank you in advance.
You can use:
https://000webhost.com/
https://www.netlify.com/
https://pages.github.com/
Or if you work with framework such as React or Flask for Python web, you can use https://www.heroku.com/. It's free and you can even host your website through repository on your Github.

Open source platform/software to develop app backend [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We are going to develop some mobile app for one of our clients, and we are defining the technical solution for the backend server.
Basically, we need to implement a backend providing REST apis for the apps. The apps will need features such as user authentication, handling of user profiles and user contents. The backend should also expose a web administration interface and allow to manipulate some of the app contents in a CMS-like way.
My client specifically wants to avoid baas solution (like Parse), and I am trying to find some open source software able to provide some of the features out of the box, to avoid writing everything from scratch, and develop the other parts. We can use cloud services such as AWS for hosting the backend.
What existing platform/software would you advise?
Here a a few options to look into:
DreamFactory: http://www.dreamfactory.com/
Loopback: http://loopback.io/
Apache Usergrid: http://usergrid.incubator.apache.org/
BaasBox: http://www.baasbox.com/
Not sure if this answer your question. Did you come across other options?
I am currently using apache usergrid for one of my projects and consider it powerful on following areas;
Authentication & Authorization (also social login)
Activity creation and activity feeds
Asset storage (local or aws s3)
Dynamic collection creation
Search on collections and support custom query language (via elastic search)
But it doesn't support push notifications. If you need that out of the box, you may have a look at BaasBox. It seems a good alternative to usergrid.
I didn't find documentation adequate for usergrid (i mean for internals not api usage), so you have to dig source code to find out answers.
If you are developing social application (user activities, feeds, comments, likes) it is hard to update counters in a document (e.g. updating comments and likes count). It is not natively supported. You may sync increments on the same document using a queue like kafka.

Wordpress plugin to connect to a REST API? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Let's say I have a RESTful API running on a server somewhere, as well as a separate, but related, Wordpress site.
I want to have some pages on the WP site that show data on WP pages that has been retrieved from the REST server (in JSON format), and allow the user to view and/or edit the data on WP pages.
For example, let's say I have, as a REST starting point, an API that returns a list of books owned by a user. I want to display the list of books, allow the user to click on a book link and go to a page that displays the details for the book.
Then if the user enters "edit mode", it lets him/her edit the data and POST/PUT it back to the server via the REST API.
Is there any WP plugin that lets me create pages that display and edit information like this?
I would expect that for each type of entity I could enter some metadata to indicate what to expect in the JSON and how to display it for viewing or how to build the form for it (like iPhorms does).
So WordPress has some built-in support for AJAX queries, both from the admin panel and in the user-facing pages.
I don't fully understand how it all works yet as I am totally new to WordPress coding, but this seems to be what I want:
http://codex.wordpress.org/AJAX_in_Plugins
Thanks to moimikey for mentioning WP's ajax ability.
Look at this URL, it will solve your problem
https://developer.wordpress.org/plugins/http-api/
If I understand your post correctly, perhaps this would do the trick.
http://wordpress.org/extend/plugins/json-api/
It has 3 controllers:
Post:
create_post
Core:
info get_recent_posts get_post get_page get_date_posts get_category_posts get_tag_posts get_author_posts get_search_results get_date_index get_category_index get_tag_index get_author_index get_page_index get_nonce
Respond:
submit_comment
I am looking for similar functionality (I want my Wordpress page to render/update data retrieved from Spring REST CRUD repository) and I couldn't find anything.
I ended up writing my own generic shortcode plugin for Spring REST data repositories, which I will be happy to share once it's completed.
You can also write your own shortcode plugin based on the following tutorials / blog posts, it is fairly straight-forward:
http://pressupinc.com/blog/2013/09/making-first-shortcode-plugin-wordpress/
How to parse json response from CURL
Call a REST API in PHP

Are there any open-source / free site analytics solutions that are intranet deployable? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
There are plenty of statistics/analytics providers for Internet deployed software (e.g. Google Analytics), but I'm looking for an analytics tool to integrate into a LAN/intranet based web application.
I'm aware of AWStats, but I'd prefer something with a design similar to Google Analytics, where a Javascript callback can be embedded into the app and call back to an analytics server. This doesn't require any sort of extra application server configuration and access to run.
I'm thinking there's nothing available that isn't proprietary / pay-for, but I'd love to be told I'm wrong!
Piwik should be able to meet your needs. It's not as advanced as Google Analytics, but it uses a Javascript callback and can therefore give you more info than AWStats and Webalizer.
There is also Webalizer, but its pretty ugly.
You can look at Mint, it isn't free, but it costs $30 for the site, forever, so it is really a bargain for any large site.
Piwik works great and I use it on some Intranet sites without a fully qualified domain name. But note that Piwik needs PHP to run. I've used it on Lunix and IIS servers though.
If your intranet has a fully qualified domain name (ours is intranet.example.com, for instance) Google Analytics will work just fine. The admin interface will never tell you you've installed the tracking code properly, but it will collect data just fine.
I haven't tried it on a domain-less URL like http://intranet/. Worth a try, though.