I have to create a web site with the functionality of similar to some e-commerce website, but it will also have a user forum and the users will have ability to write blogs/articles. I will also have a mobile app (hybrid app for iOS and android), so I want my server side Rest APIs to be re-usable from my web front as well as from mobile app perspective (not 100% but at least the platform and technology I want to be same, so it will be easy for me to write back end code for my website and mobile app).
With above in my mind, I would prefer to leverage something like world press , as it will save me a lot of design and tempting time for my website and it also have forum plugins etc. I am the single developer who will be doing everything.
My questions are as below :
Any guidance will be highly appreciated.
Thanks.
Well ok maybe I get the reversal badge for this I will answer your questions:
REST APIs can be created in almost any programming language. There is nothing wrong with creating those in PHP.
You can customize WordPress to the end of the world (press) if you have the programming skills to do that. However it is not recommendable to use WordPress for certain use cases e.g. big e-commerce websites as there are limits/challanges in scalability and performance.
The choice between Ruby on Rails and PHP is dependent on the project requirements. Both languages have advantages and disadvantages. WordPress is written in PHP. Compared to PHP Ruby on Rails is better in terms of performance. However this largely depends on the source code written.
The choice of the library to be used for a forum depends on your project requirements. It is probably not a good idea to write a forum software from scratch. However I do not know your requirements.
Final suggestion: Try to minimize your project requirements and use the most simple (but sufficient) approach you can find.