I am looking for a tutorial that shows how to use PhoneGAP to convert a Classified Ads website( eg gumtree) that created using wordpress to apps ( ios,andriod and windows). I have spent 3 hours to find something but could not find it :(
I am in the learning stage, appreciate your support.
You can use Phonegap to build apps that will read JSON feeds from your Wordpress sites. Here is an idea where to start:
To get the data from your WordPress sites you will need to use a JSON API (you can search google for such APIs) for example: JetPack which includes WordPress JSON API.
You can find quite good documentation for the API.
Also you can use OAUTH2 to authenticate.
Related
I developed a website using Nextjs (Client side only, and used Nextjs for the SEO).
I wanted to ask if there is a way to convert this website somehow from Nextjs to Wordpress or anything else, or even somehow connect it to CMS application, so my client can modify images and content any time he want by his own.
Currently, the web application in Nextjs is pretty static, all the pages and conntent are hard coded wroten.
All my data are in JSON files and such are the images in the website.
Yes! This is a pretty hot topic right now, and there are many ways to accomplish it.
Here are the general guidelines:
Set up a "headless CMS" - this can be WordPress (set up in a special way so you are using just the backend) - or there are many other popular options, such as Contentful, Sanity, Prismic...
Your CMS needs to have an API for Next.js to use. If you go with WordPress, you can use the built-in REST API - or you can use the WP GraphQL plugin
This is such a popular topic, that if you search around, you'll find many helpful guides that go into more detail. You'll want to search "Next.JS with WordPress headless CMS"
Here's one example I found that uses GraphQL and looks fairly thorough.
Or, if you're not set on WordPress, check out Next.js-specific information for other popular headless CMS's - most of them will have specific documentation and guides for Next.JS - for example Sanity's Next.JS Guides.
WordPress is solid and flexible - but if you're not already a fairly strong WP developer, then I might recommend going with one of the more pre-packaged options (like Sanity, Prismic, Contentful, etc.) - many of them have a free tier.
I have a project where I need to make a mobile app for a wordpress website. It will have some features that are not in the web app yet. I've made some research and there seems to be ways to make api requests to some endpoints that are made available by wordpress. I am a rookie when it comes to planning a backend structure, building it from scratch, and deploying it, but I have developed new features for an existing node.js backend for a mobile app before. Considering all of this, can I use the wordpress api for my mobile app without any security, performance, or compatibility issues or should I start building a backend for it?
Thanks in advance.
Yes, we can use WordPress website for mobile application backend.
For this we need to make an API request according to WordPress structure and database structure.
A new development in WordPress is the WP-API, which allows you to output your site content into a standardized JSON API. Since mobile apps normally use an API to get remote data, using the WP-API is a great way to get your WordPress data into a mobile app.
We can use inbuilt plugins for the same purpose like AppPreser- Mobile App Framework.
I’m about to build an app that will look like a social network: people will be able to create accounts, like posts, save posts (But not create posts).
I’m searching the right platform to build my backend, I saw many options like Parse or Node.js but I did not see many people using WordPress as backend.
My question is why not use WordPress as my backend and develop custom plugins as I need? What is the pros and cons? Am I missing something that makes people not using WordPress?
Thanks
You can use the WordPress as the backend of your app as per your requirement, As WordPress allows wp-JSON API & WooCommerce API as well.
Also you can integrate the JWT Authentication for WP REST API plugin if you want to implement the JWT authentication
Also you can customize as per your requirement so i suggest to use the wordpress as backend of your app
There are a lot of people using Parse Server for building social networks and it is a great fit. Take a look at the following app template. It shows how to build an Instagram app.
https://www.back4app.com/database/back4app/instagram-clone-swiftui
I have built an asp.net application from which I would like to post blog entries to wordpress, using the wordpress API. Thus far I have been unable to find any good tutorials or walkthroughs to do so. How might I use the wordpress API to upload blog content via an asp.net application?
I know that you should use the xml-rpc (probably need to enable on your server under administration area). xml-rpc. However, actual implementation details I am not positive on. Hopefully this gives you a start.
http://codex.wordpress.org/XML-RPC_wp
I saw in wordpress some APIs being published for developers. What could a developer gain by using those APIs?
I think you've taken API to mean something similar to what Flickr and Vimeo do, which they are not. They are simply ways for you to access and ammend core functionality of the Wordpress platform, so as to bend it to do what ever it is you need it to do.
There are ways to pull data from your blog to a mobile devise, but that is a very different question.
Wordpress API are for those that want to develop a theme, or writing custom plugins for Wordpress.
Either way, you can use to integrate Wordpress in your exisiting php site, using the powerful backend as an administration tool and the using the API to retrieve the content and present it in your (already) website.
http://codex.wordpress.org/Integrating_WordPress_with_Your_Website