3 ms·
Static HTML apps + REST APIs aren't dependant on Ruby/JS at all. You could easily use a REST-centric PHP framework such as http://www.slimframework.com/ http://
by jonascopenhagen 14y ago
Static HTML apps + REST APIs aren't dependant on Ruby/JS at all. You could easily use a REST-centric PHP framework such as http://www.slimframework.com/ http://www.slimframework.com/ as the backend. Same hosting price as WordPress. On top of that, Slim Framework is great to work with and is fast to set up compared to e.g. Sinatra or Node.
- why-el 14y agoI am sure they aren't and I did not mean to suggest they are. When it comes to what backend to hook your static stuff to, it's just a matter of personal preference. All I am saying is that its harder in some parts of the world where Wordpress is still looked at as the cheapest, most viable option.
- jonascopenhagen 14y agoWhat I don't understand is why WordPress would be cheaper than other forms of PHP software? Most smaller PHP frameworks such as Slim Framework or Laravel require even less memory than WordPress and could easily be installed on a small web hosting account.
- wyck 14y agoBut you can stick a REST API onto WordPress. Several plugins have a JSON API, there is Hookpress, it's also not very hard to roll your own restful code. It also has XML-RPC Support which is an alternative to REST. It's actually quite simple to provide "static" outs for WordPress and the benefit is the client gets a nice easy to use admin. It's not the best thing in the world or anything, but it works.