Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^10: Perl Contempt in My Workplace

by marto (Cardinal)
on May 05, 2021 at 19:02 UTC ( #11132101=note: print w/replies, xml ) Need Help??


in reply to Re^9: Perl Contempt in My Workplace
in thread Perl Contempt in My Workplace

"my plan was to find some plugin for Catalyst of Mojo or Dancer or whatever so"

Contrary to what you said earlier:

"ok, so basically you're suggesting me to redo all negotiations to Jquery/datatables from scratch using JSON::PP and do a lot of fun with modern web frameworks.

This is exactly what I was trying to avoid"

Write a perl script query your database in a sensible way (see previous comments), return the data in JSON format. You clearly haven't read any of the documentation for the tools you've decided to use, suggesting another boilerplate module from CPAN would likely not do what you want, and be a waste of time. Also yes, you are wrong in your assumption about module numbering, and almost everything else you've written in this thread to date.

Replies are listed 'Best First'.
Re^11: Perl Contempt in My Workplace
by vkon (Curate) on May 29, 2021 at 18:08 UTC
    I do not see how my 2 statements contradict to each other. I was searching for some existing solution (catalyst or dancer of whatever)
    and I do not want to reimplement "server side processing" - I want to reuse something that already exists.

    how these 2 statements contradict to each other?

    my SQL statement is simple: SELECT * from MYTABLE

    Do you have perl solution with datatables with excel-like sorting and filtering, given that MYTABLE is large enough so it is not realistic to send entire table to client?

      "I do not see how my 2 statements contradict to each other"

      You said: "ok, so basically you're suggesting me to redo all negotiations to Jquery/datatables from scratch using JSON::PP and do a lot of fun with modern web frameworks. This is exactly what I was trying to avoid". After saying: "my plan was to find some plugin for Catalyst of Mojo or Dancer or whatever" Mojolicious and Dancer being modern framework. It has been explained several times why a boiler plate cpan module to do what you want is likely going to be more of a hassle to maintain, than had you taken the advice given here, and in the the DataTables dominations and followed those instructions.

        I remember those answers and I agree with nice people who provided me with these advices.

        Still, I do not see how my 2 statements contradict to each other.

        out from your answer I conclude that you're stating that Perl module is impractical to exist for my particular case.
        I do not entirely agree with this, but I do respect this point of view.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132101]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2022-10-05 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (20 votes). Check out past polls.

    Notices?