Find Jobs
Hire Freelancers

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

$30-250 USD

Ολοκληρώθηκε
Αναρτήθηκε πάνω από 8 χρόνια πριν

$30-250 USD

Πληρωμή κατά την παράδοση
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!
Ταυτότητα εργασίας: 9184261

Σχετικά με την εργασία

1 proposal
Απομακρυσμένη Εργασία
Ενεργός/ή 8 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
A proposal has not yet been provided
$144 USD σε 3 ημέρες
4,7 (4 αξιολογήσεις)
3,8
3,8

Σχετικά με τον πελάτη

Σημαία της AUSTRALIA
Australia
4,9
7
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Δεκ 15, 2015

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.