Interact with database with fullcalendar.js

  • Status: Closed
  • Prize: €30
  • Entries Received: 1
  • Winner: cj4hire

Contest Brief

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,

Recommended Skills

Employer Feedback

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

Profile image PedroCampeon, France.

Top entries from this contest

View More Entries

Public Clarification Board

  • cj4hire
    cj4hire
    • 6 years ago

    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 years ago
  • cj4hire
    cj4hire
    • 6 years ago

    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 years ago
    1. PedroCampeon
      Contest Holder
      • 6 years ago

      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 years ago
    2. cj4hire
      cj4hire
      • 6 years ago

      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 years ago

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!