Find Jobs
Hire Freelancers

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

$2-30 USD / hour

Cerrado
Publicado hace más de 13 años

$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.
ID del proyecto: 2661803

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 13 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
5 freelancers están ofertando un promedio de $13 USD /hora por este trabajo
Avatar del usuario
See private message.
$10 USD en 50 días
4,9 (41 comentarios)
6,6
6,6
Avatar del usuario
See private message.
$27,30 USD en 20 días
5,0 (22 comentarios)
4,7
4,7
Avatar del usuario
See private message.
$7,28 USD en 20 días
5,0 (27 comentarios)
4,8
4,8
Avatar del usuario
See private message.
$13,65 USD en 50 días
5,0 (4 comentarios)
2,5
2,5
Avatar del usuario
See private message.
$9,10 USD en 40 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Tallahassee, United States
0,0
0
Miembro desde may 22, 2010

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.