Search code examples
phpjqueryajaxflaskcontenteditable

Content editable feature without using PHP


I'm building a travel planner website, where I want to use the content editable feature from HTML5. I also want to save the changes in my db and retrieve them whenever the user click on the trip webpage. I have found couple of tutorials that touches on that and how it can be done, but all of them mention using php to store these changes to a variable. I don't know anything about php, though this feature is critical in my website. One more thing, I'm using flask web framework, I don't know does that helps my case by any means? So are there any alternative beside php?

Thanks in advance, Maryam


Solution

  • There are loads of alternatives to PHP:

    https://www.quora.com/Web-Development-What-are-better-alternatives-for-PHP-and-MySQL

    But, pretty much any language you decide on will force you to learn a new programming language.

    I, personally, prefer PHP with a jQuery-JavaScript front end. I really wish there was a better answer, but people always ask this question (including me when I started programming), and there is no real alternative to learning a new server-based language for database and etc. changes.

    There is a very good reason for this. If you allowed users to see the code that adds security features, they can edit it (like I do). And then, boom, your site is pwned.

    Best regards,

    Neil.