Is it possible to use a wordpress website similarly as php or asp.net websites to access jason webservice? If It is possible is there any limitations? Which is better to use knowing that I need to use it to send and receive json objects to and from the db server, and will need it to display events, news, items, buying and booking. Note that I am using the same webservice on a mobile application. Thankyou in advance
Is it possible to use a WordPress website similarly as PHP or ASP.net websites to access JSON webservice?
Yes. WordPress is built with PHP, and PHP provides the necessary tools you need to access a JSON webservice, and convert these into PHP Objects.
Are there any limitations?
No.
Which is better to use? (WordPress vs ASP.net)
WordPress is a content management system, where as ASP.net is a framework. WordPress will, without modifications, be efficient at managing content such as events, news and items. ASP.net will not provide these things for you out of the box.
Related
I'm planning to use Docker containers to create complex admin and API for listing web / mobile app, I am gonna use one WordPress container as application admin part due to WordPress has great custom post and media library capability, and create node microservices to query directly from MySQL and expose express API, finally I will create react front-end and mobile app that consumes this api.
The reason I use WordPress because WordPress admin UI and media-library are awesome.
The reason I chose express node microservice instead of WordPress because WordPress query is slow.
Please tell me is this architecture is a good solution. or their anything I can use instead of this.
Though this isn't the best architecture as per your requirement, you can use WordPress as a CMS for your application. However, I suggest using any CMS that is built on top of NodeJS and create complex admin
I am using Jquery Text editor by using which I have to store and retrieve HTML including images from database, Is it possible to do or is it something silly to ask?? Just wondering if various CMS's are providing this functionality then it might be possible to put some hands on it. Forgive me if I am wrong. And by the way c# and Asp. Net MVC 5 would be the web application builder.
I developed a simple webapp using tomcat/mysql. On the tomcat I use a REST interface to be able to interact with the client (using javascript). Since I have no knowledge of asp.net I would like to know whether asp.net could serve as a substitute for the above. I.e. provide a REST-Interface which I can contact using ajax and connect to a mysql database.
Thank you in advance.
Yes it can. However, Windows Communication Foundation would be a better technology to use for that.
I am currently building a mobile application with Kendo UI which I intend to run through phonegap and deploy to some App Stores in the near future.
I have set out the layout in HTML, CSS & JS using the Kendo framework and everything is looking good and in place.
My app will talk to an existing MySQL database which already has lots of data in it. I am wanting to pull data out of the database and display it in my application. Can anybody with any experience with Kendo UI, phonegap and app deployment help me get started as the Kendo documentation for this is not very clear.
Thanks in advance!
Your mysql database with lots of data is probably on a server somewhere.
Most servers that have mysql will probably have php installed.
So the easiest thing you can do is use some of the php mvc frameworks out there to get the data from the db, convert that into json and send that to your kendo-phonegap app.
You can read more about this approach here.
Hope this helps.
I think you need to use some wrappers. Kendo UI will not just take the data from your database.
For example setup the apache http server with php. The best way would be to get some lightweight framework which would handle the database for you. From client side with Kendo you will be querying your server.
Im new at web programming and I have to make a website which will get the data from a mssql server. The thing I tried is just write SQL commands and get the data but I need to change the settings of internet explorer so it did not work. Now I want to write a web service to get the data form my server and formats the data like .json and then I need to use that service to display my list on my website. What is your suggestion where should I begin to work ? And Im using KendoUI for my website.
The easiest and probably most used approach nowadays is to use an ORM - most common EntityFramework for .NET developers, then in your web service you just return the objects and they are automatically serialized.
Search the web for some tutorials.