Interact with database with fullcalendar.js

  • Állapot: Closed
  • Díj: €30
  • Beérkezett pályamű: 1
  • Nyertes: cj4hire

A verseny összegzése

To understand the need, please install the www folder and the database, and login with (test / test)
The goal is to be able to add events with the fullcalendar.js view, which the form is int he Modal section, depends on the first select of a play, and add the required info in the database.
To be able to edit one events, change the actor for example and delete one event,
After submitting the events form, the modal is closing and the events is added in the fullcalendar.js view
The firs part of the job is done : display the form in the modal Add view, and move the date from one date to another.
The work remaining is :
- add the event in the events database table with all the datas
- be able to edit one event
- be able to delete one event
Hope this is clear
Don"t hesitate to ask questions if needed,

Ajánlott készségek

Munkaadói értékelés

“Responsiveness, smart comments, job well done, nothing to say more than thanks”

Profilkép PedroCampeon, France.

A verseny legjobb pályaművei

További pályaművek

Nyilvános pontosítófelület

  • cj4hire
    cj4hire
    • 6 év telt el

    So I've noticed that there are two ways to edit events.
    One is via AJAX, and the other is via the events controller.

    At the minute, I'm just editing the AJAX controller, but I think really the events.add controller should be invoked directly from the modal.

    Since app/Views/events/edit.php is not yet implemented, I'm going to leave it as it is now so at least it works for you, and we can worry about changing it properly another time.

    • 6 év telt el
  • cj4hire
    cj4hire
    • 6 év telt el

    Just a couple of notes so far:
    a) You don't need to write "use \App" - this won't have any effect. Just using App:: will work. In fact, this will usually cause a warning.
    b) You should never manually place data, especially user-submitted, into an SQL query. That opens you up for a SQL injection attack. Almost all problems are mitigated by using prepared statements instead, which I will use in my submission.

    • 6 év telt el
    1. PedroCampeon
      A verseny kiírója:
      • 6 év telt el

      Hi Chris,
      Many thanks for your helpfull reply, I think I made a mistake because this is more about a micro project than a contest, I pretty new on this website, so keep learning how it works.
      Thanks again, and maybe our road will cross in the future

      • 6 év telt el
    2. cj4hire
      cj4hire
      • 6 év telt el

      No problem. Hopefully I will finish it tonight, if not tomorrow. I'll first submit one that works with the most fundamental safety precautions, and then I will submit another that adds some additional checks.

      Although if you want, you could make a new job and accept me as the freelancer so we can work more closely.

      • 6 év telt el

Így vágjon bele a versenyekbe

  • Tegye közzé a versenyét

    Indítson egy versenyt! Gyors és könnyű

  • Pályaművek százai várják

    Kapjon akár több száz pályaművet A világ minden szegletéből

  • Díjazza a legjobb pályázatot

    Díjazza a legjobb pályázatot Töltse le a fájlokat - csak egy kattintás!

Projekt közzététele vagy csatlakozzon hozzánk még ma!