Integrating a php site into WordPress

  • Hello,
    I’m taking the liberty of writing this because I need your help.
    Indeed, I am currently in internship and I have the project to realize an application to time the time spent by the employees of the company to perform the tasks of the customers. They stop the stopwatch once the task is completed. They can comment this task and save it in a database. The client will have access to the list of tasks in their personal space.
    The application also contains other functionalities such as the possibility to make tests (same principle as for the tasks), to delete these tests from the list. There is also a search engine to access the tasks containing the keywords searched, a button when you are on the client space to export the list in an Excel table.
    The goal is to integrate this into a WordPress plugin.
    So I decided to do all the code in php first (by choice of comfort since I’m much more comfortable with the php language than the WordPress one). I made this application with an MVC pattern and in object-oriented programming. So my folder contains a controller, many views, a template, my classes and class managers, CSS and Javascript files.
    So I just started trying to integrate all this in a WordPress plugin but I don’t really see how to do it. I managed to create an empty plugin, to give it a dashicon but as far as the rest is concerned, I’m a bit left out.
    Do you know any sites that explain well how to pass this application with this pattern and in POO to WordPress?
    I’m not sure where the controller should be located and how to structure my code. Would you also have some advice for me?
    My php code being in localhost, I’m at your disposal for any question and code sharing.
    Thank you in advance for your answers.
    I’m looking forward to hearing from you,
    Damien

    Translated with http://www.DeepL.com/Translator (free version)

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    This sounds like something the WordPress.org community can potentially assist with:

    http://wordpress.org/support/forums

    I would post a thread there and see if anyone is around to point you in the right direction.

    Thanks!

  • The topic ‘Integrating a php site into WordPress’ is closed to new replies.