Find Jobs
Hire Freelancers

Convert 165 line static class file into a C+ PHP module for use on XAMPP and Linux

$30-250 USD

Terminado
Publicado hace más de 8 años

$30-250 USD

Pagado a la entrega
I have a PHP static class that is 165 lines I want converted into a PHP module. I have a timeframe to keep that I need this done by, but for me the sooner the better. The class is self contained, calls no obscure php functions and basically just sorts arrays and compares values through a looping mechanism using simple operators. But dont be fooled by that. Its very technical and complex. It is not for a novice at all, but if you are into challenges this might be the one for you. I know it was a challenge for me writing it, but this is my hobby :-P I just want to make it even faster but this is the only way I see how. It is separated into 8 functions, 2 static vars, and accepts 4 args in, 1 array out. I have a test [login to view URL] file that calls the class, and has access to 30+ input and output test files. The application must: 1) Output the same as the example input tests which you can see for yourself they are as a php class - the test file is designed so that at the end you should be able to replace the call to the static class with your module function call. 2) Must come with some basic install instructions, I have installed some modules before, but I am not a server admin. I have done linux roll outs and my own setups so its not that new to me, but a little basic text file instruction guide would be good. 3) Absolutely must be faster than the original 4) Absolutely must not require any additional modules or external library 5) Absolutely must work on Linux. I could put a branch in my code so that I just use my existing slower class on Windows if that is too complicated, but I would prefer to work with XAMPP also for development process. (I find XAMPP easier for dev since windows user) 6) Absolutely must work on PHP 5.3+ and also PHP 7 which I am in the midst of upgrading to, since XAMPP is still only 5.4 which I use for Dev. 7) Must come with any source incase I need edits later and you go MIA, but would prefer if I need changes later just to come back to someone that knows what they are doing. I can help you with testing it in my environments once you believe its ready A snippet of the code and how complex it is, is here: //SNIPPET 1 $newobject[self::$compare[(($key%2)+1)][1]] = $object[self::$compare[0][1]]; $newobject[self::$compare[0][1]] = $object[self::$compare[(($key%2)+1)][1]]; //END SNIPPET 1 //SNIPPET 2 for($i=0;$i<3;$i++){ $space = array( $compare[0][0]=>$void[$compare[0][0]]+$object[$compare[0][1]], $compare[0][1]=>$void[$compare[0][1]]-$object[$compare[0][1]], $compare[1][1]=>$clone[$compare[1][1]], $compare[2][1]=>$clone[$compare[2][1]]); $clone[$compare[0][1]] = $void[$compare[0][1]]; if($space[$compare[0][1]] && $space[$compare[1][1]] && $space[$compare[2][1]]){ $space[self::$strings[1]] = $space[$compare[0][1]]*$space[$compare[1][1]]*$space[$compare[2][1]]; $spaces[] = array_merge($void,$space); } $compare = self::arrayFirstToLast($compare); } //END SNIPPET 2 Please provide a date of completion, and a price. If the module is 90% faster on the largest tests, which I am hoping for in C, I will give a minimum 10% bonus, and maybe more dependent on the results and time of completion, whether it supports xampp also would be of value for this bonus. This will be at my discretion, but I would prefer to give back to someone who has helped me with my little project because of its importance to me. I cant really say how long it would take to convert, but really this should be less than a days work for an experienced dev in php modules, php code and c code. Thanks everyone!
ID del proyecto: 9184261

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 8 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
Adjudicado a:
Avatar del usuario
A proposal has not yet been provided
$144 USD en 3 días
4,7 (4 comentarios)
3,8
3,8

Sobre este cliente

Bandera de AUSTRALIA
Australia
4,9
7
Forma de pago verificada
Miembro desde dic 15, 2015

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.