Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Mojolicious::Lite: Should i use the build-in web server?

by karlgoethebier (Priest)
on May 11, 2014 at 13:07 UTC ( #1085686=note: print w/ replies, xml ) Need Help??


in reply to Re: Mojolicious::Lite: Should i use the build-in web server?
in thread Mojolicious::Lite: Should i use the build-in web server?

Thank you very much Pizentios for your advice. I'll give it a try.

"...as we have no idea of what your application does..."

Briefly, it's just about tracking some business processes:

  • Import some data (CSV or Excel files from various sources AKA departments)
  • There are about 1000 records every day
  • Every record should have a status
  • If a record is "imported" (or initial) status is 0
  • If the process is finished status is "solved"
  • Status is from 0 up to ~50
  • That means: "initial", "phoned customer", "emailed customer", "sent snail mail to customer"... "you didn't pay - go to jail"..."solved"
  • If the data matches some criterion (on import), status should be updated automatically
  • Sometimes the operators need to update status manually
  • Sometimes the operators need to add some comments to the records
  • If some status is reached, the data is to be exported as CSV or Excel file for further processing by the next department
  • Every record needs to be "checked out" by it's operator and marked as "locked"
  • If a record is "checked out" and marked as "locked" it should be visible to the other operators but not editable
  • There is a need for some "role concept" (from "read-only" up to do "everything")

I described the software stack i use :-)

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»


Comment on Re^2: Mojolicious::Lite: Should i use the build-in web server?
Re^3: Mojolicious::Lite: Should i use the build-in web server?
by Pizentios (Scribe) on May 12, 2014 at 14:34 UTC

    Sounds to me like perl and mojolicious would handle your processes just fine.....and do it fast. I have done many projects that involved processing csv files doing something with the data and then saving to a database or another format. I have found that perl does this type of thing very well. There are many modules in cpan for working with csv/excel.

    Mojolicious has plugins to get you running with roles very quickly as well (ie: operator status etc)...https://metacpan.org/pod/Mojolicious::Plugin::Authorization comes to mind. Good luck and i hope you enjoy the framework as much as i do.

    -Pizentios

      Thanks again Pizentios. I just started to play with this tools...

      Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

        Good luck and have fun!
        -Pizentios
Re^3: Mojolicious::Lite: Should i use the build-in web server?
by vincent_veyron (Acolyte) on May 12, 2014 at 19:37 UTC

    I use a stack made of Apache/Mod_perl/Postgres that I find very versatile; there are options to use nginx instead of Apache, and of course many databases through DBI.pm

    All of what you describe could be done with a couple modules in Perl that query some tables in a database and generate a few lines of html. Since you know Perl already, the initial learning curve for mod_perl does not seem huge.

    I'm not sure what a framework brings you over this in your case?



    libremen.com : legal case, contract and insurance claim management software
      "A basic theme which is...well, You understand what a basic theme is. And then the variations include ah, manoeuvres that might be executed with the aid of ah, extra-terrestrial gratification..." (Frank Zappa)

      Thank you very much for answering and best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-12-20 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls