Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: What is a good, straightforward Perl with Mysql development environment?

by trippledubs (Deacon)
on Aug 06, 2019 at 01:20 UTC ( #11104003=note: print w/replies, xml ) Need Help??


in reply to What is a good, straightforward Perl with Mysql development environment?

Congratulations on a successful company! Tricky because there is no straight forward way to get from 'getting by' to bullet proof. Continuous improvement, I suspect. When you are interviewing candidates, I would ask them this question as you've described above.

If all the data lives in the database, you could just have two databases, one for prod and one for dev. Actually Rose::DB shows a way to have two environments on the main page

My::DB->register_db( domain => 'development', type => 'main', driver => 'Pg', database => 'dev_db', host => 'localhost', username => 'devuser', password => 'mysecret', server_time_zone => 'UTC', ); My::DB->register_db( domain => 'production', type => 'main', driver => 'Pg', database => 'big_db', host => 'dbserver.acme.com', username => 'dbadmin', password => 'prodsecret', server_time_zone => 'UTC', );
# File: startup.pl use My::DB; if($ENV{'MYCORP_PRODUCTION_SERVER'}) { My::DB->default_domain('production'); } else { My::DB->default_domain('development'); }

There are lots of ways to solve code deployment. In my experience, many outages due to problems in production that are unforseen or even unknowable in development. I'd probably um make sure to have good backups before the new dev starts.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-10-20 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (209 votes). Check out past polls.

    Notices?