I would like to try little web apps with WordPress.
Just to accept some values for few fields and present the output using AJAX.
What are all the necessary modifications on WordPress?
So, far I’ve tried some plugins like exec-php. But, I am in need of a better advice/suggestion.
Natively WordPress posts are subset of HTML (even more like semi-HTML – paragraph tags can be implied and added on output, but not stored). As result it really really doesn’t like to store or process active code in post’s content. This applies both to internal logic in PHP and front-end logic of post editor (it actively tries to strip some things like iframes, when switching to visual editor, etc).
Basically you have two options: