Find Jobs
Hire Freelancers

C++ daemon that interacts with a php script and blackbox module

$2-30 USD / hour

Avslutat
Publicerad över 13 år sedan

$2-30 USD / hour

Your task is to write a program that runs as a background process on a web server. The process should listen on some arbitrary port, and accept input in the form of properly-formatted JSON (or some other lightweight data-interchange format). The ultimate goal is eventual integration with a server-side PHP script that prompts a user for information. ## Deliverables Here is the proposed user/PHP/daemon interaction, from a high-level view: 1. The user logs into the web site, and is assigned a session id from the PHP script (the PHP script handles ALL user authentication/access verification); 2. The PHP script prompts the user with input forms, which the user completes and submits; 3. The PHP script verifies that the input is correctly formatted and "safe" (e.g., taint checking), and connects (if it's not already connected) to the daemon on some arbitrary port; 4. The daemon will only create connections with the localhost or a finite list of servers. It will not respond to requests from other entities; 5. The PHP script requests instantiation of a new citation object; 6. The daemon creates a new citation object, and requests the form data; 7. The PHP script passes the form data to the daemon; 8. The daemon attaches the form to the citation object and tries to render a full citation; 9. The daemon might determine that it needs more information. This means steps 6-9 loop until the citation is rendered; 10. Once the citation is complete, the object is destroyed. I want to give you complete freedom in writing this program, but there are a few required performance elements that necessitate initial discussion. First, the program should be extremely robust, and able to handle many simultaneous requests. I like the way Windows runs its message queue, so that type of model would be acceptable. Additionally, the program should be relatively secure; I've pushed much of the authentication burden onto the PHP script, so really your job is to map session ids with citation object. Additionally, we don't want citation objects to last forever, so some finite lifetime before they're destroyed would be appropriate. Relatively, this should be a straightforward C++ job. You're free to make use of any libraries with non-copyleft, permissive licenses. The citation modules are blackbox, so you don't have to incorporate that functionality--rather, you may replace those functions with something like printf. What you're designing is the shell, and we will finish the rest of the program. In your proposal, please indicate: (1) your experience with C++; (2) how you propose to handle the 'authentication' issue; (3) a rough estimation of how long you think this would take; and (4) your availability.
Project ID: 2661803

Om projektet

5 anbud
Distansprojekt
Senaste aktivitet 13 år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
5 frilansar lägger i genomsnitt anbud på $13 USD/timme för detta uppdrag
Använd avatar
See private message.
$10 USD Om 50 dagar
4,9 (41 omdömen)
6,6
6,6
Använd avatar
See private message.
$27,30 USD Om 20 dagar
5,0 (22 omdömen)
4,7
4,7
Använd avatar
See private message.
$7,28 USD Om 20 dagar
5,0 (27 omdömen)
4,8
4,8
Använd avatar
See private message.
$13,65 USD Om 50 dagar
5,0 (4 omdömen)
2,5
2,5
Använd avatar
See private message.
$9,10 USD Om 40 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för UNITED STATES
Tallahassee, United States
0,0
0
Medlem sedan maj 22, 2010

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.