I've been working on a web app (PHP, MYSQL). now i am trying to integrate it with wp. the idea is simple: wp in root directory, application as a subdirectory of the root directory.
i'd like the webapp's output to be placed in the main content of the page (where normally you'd see posts), but i'd still want WP to be responsible for header, sidebar and footer, as it is in regular wp posts.
could somebody give me a hint or two how to achieve this? would this be the stuff for a plugin? or just a matter of redirects? i don't know where to start. my web app is fully functioning, but i don't know how to start building the bridge to wp.