Coder Social home page Coder Social logo

dataexporter's People

Contributors

cordoval avatar pawelkocot avatar piotrantosik avatar saimon7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dataexporter's Issues

PropertyAccess'

I am not sure if I missing something, or it is a bug

Symfony\Component\PropertyAccess\PropertyAccess' not found in EE\DataExporterBundle\Service\DataExporter.php on line 192

Question | What are this bundle's performances ?

Hi, I'm facing huge problem exporting massive amount of data to Excel, I've tried many bundles out there, but in all of them, if I don't get out of memory exception, I get timeout exception. I'm trying to export +200k rows, so what I did is to paginate the request over 20 redirections (1st page export PAGE_SIZE = 50k rows to json, then redirect request to same location with manipulating display start and redirections, save next page to the same json... etc..). when it comes to transforming the json to excel, I'm facing same issues : either memory problem or timeout problem.

Can you tell me more about performances of this bundle ?

stripping newline character optional

I was wondering if the following in public static function could be optional or not:

//replace new line character
$data = preg_replace("/\r\n|\r|\n/", ' ', $data);

the csv and excel files that i am generating using this bundle will be used by other applications to import data and the newline chars have to stay.

I think a lot of people might find this handy. pls take this suggestion into account.

thanks! great bundle!

Can't install your bundle with composer

Composer download the bundle and copy it to my hard drive, I add the class to my AppKerne.php but when I lunch the web sites I have this error :

Fatal error: Class 'EE\DataExporterBundle\EEDataExporterBundle' not found in /var/www/saris/app/AppKernel.php on line 26.

I have followed your instruction like it was wrote.

Exporting entities issue

Hi there,

Nicely done bundle!

I must be doing something wrong...

My implementation is as follows:

    $exporter = $this->get('ee.dataexporter');

    $em = $this->getDoctrine()->getManager();
    $entities = $em->getRepository('DigitalUserBundle:User')->findAll();

    $exporter->setOptions('csv', array('fileName' => 'file'));
    $exporter->setColumns(array('[username]' => 'Username', '[firstname]' => 'First name', '[lastname]' => 'Last name', '[email]' => 'Email'));
    $exporter->setData(array($entities));

    return $exporter->render();

I get the file generated or html or any other format with no issues ... However my records are empty and only headings are being displayed... What am I doing wrong?

Any tip would be much appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.