PHP / CSV Creation - mongo / goodby/csv or league/csv
- or -
Post a project like this2476
£100(approx. $125)
- Posted:
- Proposals: 2
- Remote
- #1610042
- Awarded
Description
Experience Level: Expert
Estimated project duration: 1 day or less
General information for the website: General Dev
Description of requirements/features: Tech - PHP, MongoDB (latest) paired with mongodb/mongodb mongodb library. Prefer to use goodby or league for CSV manip.
Requirement : Using PHP I need a method/class to iterate over a mongo collection, create a CSV, write file to server.
There are a couple of tricky points:
1: Export could be quite large (50-100K rows) so we can't just suck the whole thing into an array - memory management is vital. Speed however is less important - if there's a tradeoff between speed and memory - favour memory.
2: Because we're coming out of mongo - fields may vary from row to row. For the final file, the order of fields doesn't matter, but we must ensure (obviously) that if field "name" is in column 1, it's always in column 1
We can discuss more in chat.
Extra notes:
Description of requirements/features: Tech - PHP, MongoDB (latest) paired with mongodb/mongodb mongodb library. Prefer to use goodby or league for CSV manip.
Requirement : Using PHP I need a method/class to iterate over a mongo collection, create a CSV, write file to server.
There are a couple of tricky points:
1: Export could be quite large (50-100K rows) so we can't just suck the whole thing into an array - memory management is vital. Speed however is less important - if there's a tradeoff between speed and memory - favour memory.
2: Because we're coming out of mongo - fields may vary from row to row. For the final file, the order of fields doesn't matter, but we must ensure (obviously) that if field "name" is in column 1, it's always in column 1
We can discuss more in chat.
Extra notes:
Christopher W.
100% (21)Projects Completed
17
Freelancers worked with
17
Projects awarded
55%
Last project
19 May 2020
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies