From madcityzen at gmail.com Thu Jul 9 16:46:05 2015 From: madcityzen at gmail.com (Doug Bell) Date: Thu, 9 Jul 2015 18:46:05 -0500 Subject: [Chicago-talk] Meeting - July 23 - Testing Javascript with Test::Mojo::Role::Phantom Message-ID: This month, Joel Berger will be giving a talk on testing Javascript from Mojolicious > Do you test your Javascript? All of it? Be honest. I thought so, neither did I. > > It is very easy to say that testing Javascript is too hard, or that you don't need to because you have so little of it. But what if testing your client-side Javascript was as easy as testing a Mojolicious app, which is pretty darn easy? Would you do it then? > > In this talk I will demonstrate Test::Mojo::Role::Phantom, which allows testing a Mojolicious app, PSGI app or even external website's client-side Javascript. It only requires the phantomjs executable, which is a piece of cake to install. You'll be testing your browser behavior in no time. RSVP on the Meetup: http://www.meetup.com/ChicagoPM/events/223686277/ Doug Bell madcityzen at gmail.com From gatorreina at gmail.com Wed Jul 29 09:55:22 2015 From: gatorreina at gmail.com (Richard Reina) Date: Wed, 29 Jul 2015 11:55:22 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql Message-ID: I do not know HTML. I have created a website with dreamweaver that mostly just looks pretty and and jumps to different pages on a site. I have also written a database app with perl->MySQL that users on a small LAN can use to enter and query data. However, it is displayed on linux consoles using rudimentary menu apps based on curses. I would like to create a website that would allow users to enter and query data from MySQL databases and carry out functions such as updating users via email when changes are made. Since I don't know HTML or Apache can I just use dreamweaver and somehow enter perl code to talk to MySQL? Or is there a better and easier way for me to go about this? Thanks for any ideas. Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: From amead2 at alanmead.org Wed Jul 29 10:52:28 2015 From: amead2 at alanmead.org (Alan Mead) Date: Wed, 29 Jul 2015 12:52:28 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: Message-ID: <55B912DC.8080204@alanmead.org> Richard, You'll need to learn enough HTML to transform your Dreamweaver output files into templates. There are many ways to do this but you probably want a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial includes the kind of website you want to build (as "CRUD"): https://metacpan.org/pod/Catalyst::Manual::Tutorial https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD I'm also sure you could do this using Mojolicious. But, again, you're SOL unless you're willing to learn how to work with these technologies. -Alan On 7/29/2015 11:55 AM, Richard Reina wrote: > I do not know HTML. I have created a website with dreamweaver that > mostly just looks pretty and and jumps to different pages on a site. I > have also written a database app with perl->MySQL that users on a > small LAN can use to enter and query data. However, it is displayed on > linux consoles using rudimentary menu apps based on curses. I would > like to create a website that would allow users to enter and query > data from MySQL databases and carry out functions such as updating > users via email when changes are made. Since I don't know HTML or > Apache can I just use dreamweaver and somehow enter perl code to talk > to MySQL? Or is there a better and easier way for me to go about this? > > Thanks for any ideas. > > Richard > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Wed Jul 29 12:17:45 2015 From: gatorreina at gmail.com (Richard Reina) Date: Wed, 29 Jul 2015 14:17:45 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: <55B912DC.8080204@alanmead.org> References: <55B912DC.8080204@alanmead.org> Message-ID: Hi Alan, Thanks for the reply. I will look into catalyst. 2015-07-29 12:52 GMT-05:00 Alan Mead : > Richard, > > You'll need to learn enough HTML to transform your Dreamweaver output > files into templates. There are many ways to do this but you probably want > a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial > includes the kind of website you want to build (as "CRUD"): > > https://metacpan.org/pod/Catalyst::Manual::Tutorial > https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD > > I'm also sure you could do this using Mojolicious. But, again, you're SOL > unless you're willing to learn how to work with these technologies. > > -Alan > > > > > On 7/29/2015 11:55 AM, Richard Reina wrote: > > I do not know HTML. I have created a website with dreamweaver that > mostly just looks pretty and and jumps to different pages on a site. I have > also written a database app with perl->MySQL that users on a small LAN can > use to enter and query data. However, it is displayed on linux consoles > using rudimentary menu apps based on curses. I would like to create a > website that would allow users to enter and query data from MySQL databases > and carry out functions such as updating users via email when changes are > made. Since I don't know HTML or Apache can I just use dreamweaver and > somehow enter perl code to talk to MySQL? Or is there a better and easier > way for me to go about this? > > Thanks for any ideas. > > Richard > > > _______________________________________________ > Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk > > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Wed Jul 29 13:14:53 2015 From: gatorreina at gmail.com (Richard Reina) Date: Wed, 29 Jul 2015 15:14:53 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: <55B912DC.8080204@alanmead.org> References: <55B912DC.8080204@alanmead.org> Message-ID: Wow just took a look at catalyst. Seems easier to just stick with Dreamweaver and access my MySQL tables with php -- if you are saying I can't do so with perl. 2015-07-29 12:52 GMT-05:00 Alan Mead : > Richard, > > You'll need to learn enough HTML to transform your Dreamweaver output > files into templates. There are many ways to do this but you probably want > a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial > includes the kind of website you want to build (as "CRUD"): > > https://metacpan.org/pod/Catalyst::Manual::Tutorial > https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD > > I'm also sure you could do this using Mojolicious. But, again, you're SOL > unless you're willing to learn how to work with these technologies. > > -Alan > > > > > On 7/29/2015 11:55 AM, Richard Reina wrote: > > I do not know HTML. I have created a website with dreamweaver that > mostly just looks pretty and and jumps to different pages on a site. I have > also written a database app with perl->MySQL that users on a small LAN can > use to enter and query data. However, it is displayed on linux consoles > using rudimentary menu apps based on curses. I would like to create a > website that would allow users to enter and query data from MySQL databases > and carry out functions such as updating users via email when changes are > made. Since I don't know HTML or Apache can I just use dreamweaver and > somehow enter perl code to talk to MySQL? Or is there a better and easier > way for me to go about this? > > Thanks for any ideas. > > Richard > > > _______________________________________________ > Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk > > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug.bell at baml.com Wed Jul 29 13:20:49 2015 From: doug.bell at baml.com (Bell, Doug) Date: Wed, 29 Jul 2015 20:20:49 +0000 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> Message-ID: It is possible to do this with Perl. I don't think Alan was saying otherwise. Catalyst is just one way to try to ease development and maintenance of web application. Mojolicious is another (and the one I use, because it seems to be simpler to write small things with). Dancer is another, and in my opinion, more comparable to Mojolicious. To connect to MySQL in all of these cases, or any other case you might try, you'll use the DBI module, which interfaces with most SQL databases. Any Perl you write can use DBI. From: Chicago-talk [mailto:chicago-talk-bounces+doug.bell=baml.com at pm.org] On Behalf Of Richard Reina Sent: Wednesday, July 29, 2015 3:15 PM To: Chicago.pm chatter Subject: Re: [Chicago-talk] Dreamweaver perl and mysql Wow just took a look at catalyst. Seems easier to just stick with Dreamweaver and access my MySQL tables with php -- if you are saying I can't do so with perl. 2015-07-29 12:52 GMT-05:00 Alan Mead >: Richard, You'll need to learn enough HTML to transform your Dreamweaver output files into templates. There are many ways to do this but you probably want a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial includes the kind of website you want to build (as "CRUD"): https://metacpan.org/pod/Catalyst::Manual::Tutorial https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD I'm also sure you could do this using Mojolicious. But, again, you're SOL unless you're willing to learn how to work with these technologies. -Alan On 7/29/2015 11:55 AM, Richard Reina wrote: I do not know HTML. I have created a website with dreamweaver that mostly just looks pretty and and jumps to different pages on a site. I have also written a database app with perl->MySQL that users on a small LAN can use to enter and query data. However, it is displayed on linux consoles using rudimentary menu apps based on curses. I would like to create a website that would allow users to enter and query data from MySQL databases and carry out functions such as updating users via email when changes are made. Since I don't know HTML or Apache can I just use dreamweaver and somehow enter perl code to talk to MySQL? Or is there a better and easier way for me to go about this? Thanks for any ideas. Richard _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk ---------------------------------------------------------------------- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From amead2 at alanmead.org Wed Jul 29 13:34:02 2015 From: amead2 at alanmead.org (Alan Mead) Date: Wed, 29 Jul 2015 15:34:02 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> Message-ID: <55B938BA.5020803@alanmead.org> Well, I don't want to discourage you (or be a jerk) but when you state that you "don't know HTML" it seems like any web-based project is going to be way, way, way over your head. There are a million ways to accomplish the site you want. Using a framework would be better for many people, but you'd have to learn the framework. If you want to learn as little as possible, then you might want to make some simple CGI scripts but that approach will require learning about how Apache works (at least a bit). You could also use PHP. -Alan On 7/29/2015 3:14 PM, Richard Reina wrote: > Wow just took a look at catalyst. Seems easier to just stick with > Dreamweaver and access my MySQL tables with php -- if you are saying I > can't do so with perl. > > > > 2015-07-29 12:52 GMT-05:00 Alan Mead >: > > Richard, > > You'll need to learn enough HTML to transform your Dreamweaver > output files into templates. There are many ways to do this but > you probably want a framework like Mojolicious or Catalyst. I see > that the Catalyst tutorial includes the kind of website you want > to build (as "CRUD"): > > https://metacpan.org/pod/Catalyst::Manual::Tutorial > https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD > > I'm also sure you could do this using Mojolicious. But, again, > you're SOL unless you're willing to learn how to work with these > technologies. > > -Alan > > > > > On 7/29/2015 11:55 AM, Richard Reina wrote: >> I do not know HTML. I have created a website with dreamweaver >> that mostly just looks pretty and and jumps to different pages on >> a site. I have also written a database app with perl->MySQL that >> users on a small LAN can use to enter and query data. However, it >> is displayed on linux consoles using rudimentary menu apps based >> on curses. I would like to create a website that would allow >> users to enter and query data from MySQL databases and carry out >> functions such as updating users via email when changes are made. >> Since I don't know HTML or Apache can I just use dreamweaver and >> somehow enter perl code to talk to MySQL? Or is there a better >> and easier way for me to go about this? >> >> Thanks for any ideas. >> >> Richard >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Wed Jul 29 13:48:59 2015 From: gatorreina at gmail.com (Richard Reina) Date: Wed, 29 Jul 2015 15:48:59 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: <55B938BA.5020803@alanmead.org> References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> Message-ID: Your response if good. It's that I don't really understand what a framework is. I've built a website with dreamweaver (without knowing any html). Now I would just like to build another small site that links to a MySQL database. I see a lot of people use php but since I already know perl and DBI I figured I could go that route. I'm just confused about what these frameworks are (catalyst, mojolicious, dancer) and how they fit in. Maybe I can hire a reasonably priced tutor ;) 2015-07-29 15:34 GMT-05:00 Alan Mead : > Well, I don't want to discourage you (or be a jerk) but when you state > that you "don't know HTML" it seems like any web-based project is going to > be way, way, way over your head. > > There are a million ways to accomplish the site you want. Using a > framework would be better for many people, but you'd have to learn the > framework. If you want to learn as little as possible, then you might want > to make some simple CGI scripts but that approach will require learning > about how Apache works (at least a bit). You could also use PHP. > > -Alan > > > > On 7/29/2015 3:14 PM, Richard Reina wrote: > > Wow just took a look at catalyst. Seems easier to just stick with > Dreamweaver and access my MySQL tables with php -- if you are saying I > can't do so with perl. > > > > 2015-07-29 12:52 GMT-05:00 Alan Mead : > >> Richard, >> >> You'll need to learn enough HTML to transform your Dreamweaver output >> files into templates. There are many ways to do this but you probably want >> a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial >> includes the kind of website you want to build (as "CRUD"): >> >> https://metacpan.org/pod/Catalyst::Manual::Tutorial >> https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD >> >> I'm also sure you could do this using Mojolicious. But, again, you're >> SOL unless you're willing to learn how to work with these technologies. >> >> -Alan >> >> >> >> >> On 7/29/2015 11:55 AM, Richard Reina wrote: >> >> I do not know HTML. I have created a website with dreamweaver that >> mostly just looks pretty and and jumps to different pages on a site. I have >> also written a database app with perl->MySQL that users on a small LAN can >> use to enter and query data. However, it is displayed on linux consoles >> using rudimentary menu apps based on curses. I would like to create a >> website that would allow users to enter and query data from MySQL databases >> and carry out functions such as updating users via email when changes are >> made. Since I don't know HTML or Apache can I just use dreamweaver and >> somehow enter perl code to talk to MySQL? Or is there a better and easier >> way for me to go about this? >> >> Thanks for any ideas. >> >> Richard >> >> >> _______________________________________________ >> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> -- >> >> Alan D. Mead, Ph.D. >> President, Talent Algorithms Inc. >> >> science + technology = better workers >> >> +815.588.3846 (Office) >> +267.334.4143 (Mobile) >> http://www.alanmead.org >> >> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >> peer-reviewed electronic journal designed to advance the science and >> practice of computerized adaptive testing: http://www.iacat.org/jcat >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > > > > _______________________________________________ > Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk > > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at petdance.com Wed Jul 29 13:56:27 2015 From: andy at petdance.com (Andy Lester) Date: Wed, 29 Jul 2015 15:56:27 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> Message-ID: > On Jul 29, 2015, at 3:48 PM, Richard Reina wrote: > > I'm just confused about what these frameworks are (catalyst, mojolicious, dancer) and how they fit in. The big thing that they do is generate HTML pages from templates, and if you?re not comfortable with HTML, then it sounds like you?re going to have a bad time with that part. -- Andy Lester => www.petdance.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From amead2 at alanmead.org Wed Jul 29 14:35:19 2015 From: amead2 at alanmead.org (Alan Mead) Date: Wed, 29 Jul 2015 16:35:19 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> Message-ID: <55B94717.4060606@alanmead.org> Web development is quite different from an app running on a server or desktop. Part of the reason that frameworks seem different is driven by this environmental difference which is inevitable. I can see why someone who knows well Perl might not like the idea of using a framework, because learning the framework is almost like learning to code a new language (in a way). But consider that if you were to re-invent the same wheel, you would make a number of mistakes that the framework builders have already mastered. Also, the frameworks will already have a number of features that you can just mix in. If you re-invent the wheel, you'll have to re-invent each feature that you want to add. For example, authentication isn't a trivial issue. You haven't mentioned authentication, but I assume you don't want everyone on the Internet to be able to edit your clients' records. Any framework is likely to have authentication built in. Another example: a CRUD website is really, really common so you should find it very easy... I found this page that describes a sample Dancer app that seems to do at least some of what you want: http://advent.perldancer.org/2011/2 Another emphasis of modern frameworks is making it really easy to use. The page above shows you how to run the Dancer app using an embedded webserver. So, you don't need to learn about web servers, etc.; you can dive right in. Dreamweaver is fine for creating the HTML but any approach to building a dynamic website is going to require that you learn enough HTML to create templates. In the example app described above, the templates are in the /view folder. If you've mastered Perl and SQL, HTML isn't going to be a big problem, but there's no avoiding it. -Alan On 7/29/2015 3:48 PM, Richard Reina wrote: > Your response if good. It's that I don't really understand what a > framework is. I've built a website with dreamweaver (without knowing > any html). Now I would just like to build another small site that > links to a MySQL database. I see a lot of people use php but since I > already know perl and DBI I figured I could go that route. I'm just > confused about what these frameworks are (catalyst, mojolicious, > dancer) and how they fit in. Maybe I can hire a reasonably priced tutor ;) > > > 2015-07-29 15:34 GMT-05:00 Alan Mead >: > > Well, I don't want to discourage you (or be a jerk) but when you > state that you "don't know HTML" it seems like any web-based > project is going to be way, way, way over your head. > > There are a million ways to accomplish the site you want. Using a > framework would be better for many people, but you'd have to learn > the framework. If you want to learn as little as possible, then > you might want to make some simple CGI scripts but that approach > will require learning about how Apache works (at least a bit). You > could also use PHP. > > -Alan > > > > On 7/29/2015 3:14 PM, Richard Reina wrote: >> Wow just took a look at catalyst. Seems easier to just stick with >> Dreamweaver and access my MySQL tables with php -- if you are >> saying I can't do so with perl. >> >> >> >> 2015-07-29 12:52 GMT-05:00 Alan Mead > >: >> >> Richard, >> >> You'll need to learn enough HTML to transform your >> Dreamweaver output files into templates. There are many ways >> to do this but you probably want a framework like Mojolicious >> or Catalyst. I see that the Catalyst tutorial includes the >> kind of website you want to build (as "CRUD"): >> >> https://metacpan.org/pod/Catalyst::Manual::Tutorial >> https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD >> >> I'm also sure you could do this using Mojolicious. But, >> again, you're SOL unless you're willing to learn how to work >> with these technologies. >> >> -Alan >> >> >> >> >> On 7/29/2015 11:55 AM, Richard Reina wrote: >>> I do not know HTML. I have created a website with >>> dreamweaver that mostly just looks pretty and and jumps to >>> different pages on a site. I have also written a database >>> app with perl->MySQL that users on a small LAN can use to >>> enter and query data. However, it is displayed on linux >>> consoles using rudimentary menu apps based on curses. I >>> would like to create a website that would allow users to >>> enter and query data from MySQL databases and carry out >>> functions such as updating users via email when changes are >>> made. Since I don't know HTML or Apache can I just use >>> dreamweaver and somehow enter perl code to talk to MySQL? Or >>> is there a better and easier way for me to go about this? >>> >>> Thanks for any ideas. >>> >>> Richard >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >> >> -- >> >> Alan D. Mead, Ph.D. >> President, Talent Algorithms Inc. >> >> science + technology = better workers >> >> +815.588.3846 (Office) >> +267.334.4143 (Mobile) >> >> http://www.alanmead.org >> >> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >> peer-reviewed electronic journal designed to advance the science and >> practice of computerized adaptive testing: http://www.iacat.org/jcat >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at marzhillstudios.com Wed Jul 29 15:13:53 2015 From: jeremy at marzhillstudios.com (Jeremy Wall) Date: Wed, 29 Jul 2015 17:13:53 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> Message-ID: Catalyst gives you a lot power out of the box and helps you to follow some patterns that will keep you from having problems later on. If you want simpler then you can just go with vanilla CGI scripts. But either way this isn't going to be easy Wow just took a look at catalyst. Seems easier to just stick with Dreamweaver and access my MySQL tables with php -- if you are saying I can't do so with perl. 2015-07-29 12:52 GMT-05:00 Alan Mead : > Richard, > > You'll need to learn enough HTML to transform your Dreamweaver output > files into templates. There are many ways to do this but you probably want > a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial > includes the kind of website you want to build (as "CRUD"): > > https://metacpan.org/pod/Catalyst::Manual::Tutorial > https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD > > I'm also sure you could do this using Mojolicious. But, again, you're SOL > unless you're willing to learn how to work with these technologies. > > -Alan > > > > > On 7/29/2015 11:55 AM, Richard Reina wrote: > > I do not know HTML. I have created a website with dreamweaver that > mostly just looks pretty and and jumps to different pages on a site. I have > also written a database app with perl->MySQL that users on a small LAN can > use to enter and query data. However, it is displayed on linux consoles > using rudimentary menu apps based on curses. I would like to create a > website that would allow users to enter and query data from MySQL databases > and carry out functions such as updating users via email when changes are > made. Since I don't know HTML or Apache can I just use dreamweaver and > somehow enter perl code to talk to MySQL? Or is there a better and easier > way for me to go about this? > > Thanks for any ideas. > > Richard > > > _______________________________________________ > Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk > > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Wed Jul 29 15:41:26 2015 From: gatorreina at gmail.com (Richard Reina) Date: Wed, 29 Jul 2015 17:41:26 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: <55B94717.4060606@alanmead.org> References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> <55B94717.4060606@alanmead.org> Message-ID: <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> Alan, For this thorough and thoughtful reply. The dancer tutorial looks less intimidating than the catalyst examples I looked at. I will get started by trying to create a simple CRUD page that will allow me to play with a database. Thank you > El jul 29, 2015, a las 4:35 PM, Alan Mead escribi?: > > Web development is quite different from an app running on a server or desktop. Part of the reason that frameworks seem different is driven by this environmental difference which is inevitable. > > I can see why someone who knows well Perl might not like the idea of using a framework, because learning the framework is almost like learning to code a new language (in a way). But consider that if you were to re-invent the same wheel, you would make a number of mistakes that the framework builders have already mastered. Also, the frameworks will already have a number of features that you can just mix in. If you re-invent the wheel, you'll have to re-invent each feature that you want to add. For example, authentication isn't a trivial issue. You haven't mentioned authentication, but I assume you don't want everyone on the Internet to be able to edit your clients' records. Any framework is likely to have authentication built in. Another example: a CRUD website is really, really common so you should find it very easy... I found this page that describes a sample Dancer app that seems to do at least some of what you want: > > http://advent.perldancer.org/2011/2 > > Another emphasis of modern frameworks is making it really easy to use. The page above shows you how to run the Dancer app using an embedded webserver. So, you don't need to learn about web servers, etc.; you can dive right in. > > Dreamweaver is fine for creating the HTML but any approach to building a dynamic website is going to require that you learn enough HTML to create templates. In the example app described above, the templates are in the /view folder. If you've mastered Perl and SQL, HTML isn't going to be a big problem, but there's no avoiding it. > > -Alan > > >> On 7/29/2015 3:48 PM, Richard Reina wrote: >> Your response if good. It's that I don't really understand what a framework is. I've built a website with dreamweaver (without knowing any html). Now I would just like to build another small site that links to a MySQL database. I see a lot of people use php but since I already know perl and DBI I figured I could go that route. I'm just confused about what these frameworks are (catalyst, mojolicious, dancer) and how they fit in. Maybe I can hire a reasonably priced tutor ;) >> >> >> 2015-07-29 15:34 GMT-05:00 Alan Mead : >>> Well, I don't want to discourage you (or be a jerk) but when you state that you "don't know HTML" it seems like any web-based project is going to be way, way, way over your head. >>> >>> There are a million ways to accomplish the site you want. Using a framework would be better for many people, but you'd have to learn the framework. If you want to learn as little as possible, then you might want to make some simple CGI scripts but that approach will require learning about how Apache works (at least a bit). You could also use PHP. >>> >>> -Alan >>> >>> >>> >>>> On 7/29/2015 3:14 PM, Richard Reina wrote: >>>> Wow just took a look at catalyst. Seems easier to just stick with Dreamweaver and access my MySQL tables with php -- if you are saying I can't do so with perl. >>>> >>>> >>>> >>>> 2015-07-29 12:52 GMT-05:00 Alan Mead : >>>>> Richard, >>>>> >>>>> You'll need to learn enough HTML to transform your Dreamweaver output files into templates. There are many ways to do this but you probably want a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial includes the kind of website you want to build (as "CRUD"): >>>>> >>>>> https://metacpan.org/pod/Catalyst::Manual::Tutorial >>>>> https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD >>>>> >>>>> I'm also sure you could do this using Mojolicious. But, again, you're SOL unless you're willing to learn how to work with these technologies. >>>>> >>>>> -Alan >>>>> >>>>> >>>>> >>>>> >>>>> On 7/29/2015 11:55 AM, Richard Reina wrote: >>>>>> I do not know HTML. I have created a website with dreamweaver that mostly just looks pretty and and jumps to different pages on a site. I have also written a database app with perl->MySQL that users on a small LAN can use to enter and query data. However, it is displayed on linux consoles using rudimentary menu apps based on curses. I would like to create a website that would allow users to enter and query data from MySQL databases and carry out functions such as updating users via email when changes are made. Since I don't know HTML or Apache can I just use dreamweaver and somehow enter perl code to talk to MySQL? Or is there a better and easier way for me to go about this? >>>>>> >>>>>> Thanks for any ideas. >>>>>> >>>>>> Richard >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago-talk mailing list >>>>>> Chicago-talk at pm.org >>>>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>>> >>>>> -- >>>>> >>>>> Alan D. Mead, Ph.D. >>>>> President, Talent Algorithms Inc. >>>>> >>>>> science + technology = better workers >>>>> >>>>> +815.588.3846 (Office) >>>>> +267.334.4143 (Mobile) >>>>> >>>>> http://www.alanmead.org >>>>> >>>>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>>>> peer-reviewed electronic journal designed to advance the science and >>>>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>>>> >>>>> _______________________________________________ >>>>> Chicago-talk mailing list >>>>> Chicago-talk at pm.org >>>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>> >>>> >>>> >>>> _______________________________________________ >>>> Chicago-talk mailing list >>>> Chicago-talk at pm.org >>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> -- >>> >>> Alan D. Mead, Ph.D. >>> President, Talent Algorithms Inc. >>> >>> science + technology = better workers >>> >>> +815.588.3846 (Office) >>> +267.334.4143 (Mobile) >>> >>> http://www.alanmead.org >>> >>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>> peer-reviewed electronic journal designed to advance the science and >>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From telcodev at gmail.com Wed Jul 29 15:46:51 2015 From: telcodev at gmail.com (Joseph Werner) Date: Wed, 29 Jul 2015 18:46:51 -0400 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> <55B94717.4060606@alanmead.org> <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> Message-ID: IF and it is a BIG IF you are, as you say, comfortable with Perl and sincerely oblivious to modern web development, then Dancer is the route I would push you in. Once again, you will have to master a templateing system of some sort; for Dancer and your background: Template toolkit. On Wed, Jul 29, 2015 at 6:41 PM, Richard Reina wrote: > Alan, > > For this thorough and thoughtful reply. The dancer tutorial looks less > intimidating than the catalyst examples I looked at. I will get started by > trying to create a simple CRUD page that will allow me to play with a > database. > > Thank you > > > > El jul 29, 2015, a las 4:35 PM, Alan Mead escribi?: > > Web development is quite different from an app running on a server or > desktop. Part of the reason that frameworks seem different is driven by this > environmental difference which is inevitable. > > I can see why someone who knows well Perl might not like the idea of using a > framework, because learning the framework is almost like learning to code a > new language (in a way). But consider that if you were to re-invent the > same wheel, you would make a number of mistakes that the framework builders > have already mastered. Also, the frameworks will already have a number of > features that you can just mix in. If you re-invent the wheel, you'll have > to re-invent each feature that you want to add. For example, authentication > isn't a trivial issue. You haven't mentioned authentication, but I assume > you don't want everyone on the Internet to be able to edit your clients' > records. Any framework is likely to have authentication built in. Another > example: a CRUD website is really, really common so you should find it very > easy... I found this page that describes a sample Dancer app that seems to > do at least some of what you want: > > http://advent.perldancer.org/2011/2 > > Another emphasis of modern frameworks is making it really easy to use. The > page above shows you how to run the Dancer app using an embedded webserver. > So, you don't need to learn about web servers, etc.; you can dive right in. > > Dreamweaver is fine for creating the HTML but any approach to building a > dynamic website is going to require that you learn enough HTML to create > templates. In the example app described above, the templates are in the > /view folder. If you've mastered Perl and SQL, HTML isn't going to be a big > problem, but there's no avoiding it. > > -Alan > > > On 7/29/2015 3:48 PM, Richard Reina wrote: > > Your response if good. It's that I don't really understand what a framework > is. I've built a website with dreamweaver (without knowing any html). Now I > would just like to build another small site that links to a MySQL database. > I see a lot of people use php but since I already know perl and DBI I > figured I could go that route. I'm just confused about what these frameworks > are (catalyst, mojolicious, dancer) and how they fit in. Maybe I can hire a > reasonably priced tutor ;) > > > 2015-07-29 15:34 GMT-05:00 Alan Mead : >> >> Well, I don't want to discourage you (or be a jerk) but when you state >> that you "don't know HTML" it seems like any web-based project is going to >> be way, way, way over your head. >> >> There are a million ways to accomplish the site you want. Using a >> framework would be better for many people, but you'd have to learn the >> framework. If you want to learn as little as possible, then you might want >> to make some simple CGI scripts but that approach will require learning >> about how Apache works (at least a bit). You could also use PHP. >> >> -Alan >> >> >> >> On 7/29/2015 3:14 PM, Richard Reina wrote: >> >> Wow just took a look at catalyst. Seems easier to just stick with >> Dreamweaver and access my MySQL tables with php -- if you are saying I can't >> do so with perl. >> >> >> >> 2015-07-29 12:52 GMT-05:00 Alan Mead : >>> >>> Richard, >>> >>> You'll need to learn enough HTML to transform your Dreamweaver output >>> files into templates. There are many ways to do this but you probably want a >>> framework like Mojolicious or Catalyst. I see that the Catalyst tutorial >>> includes the kind of website you want to build (as "CRUD"): >>> >>> https://metacpan.org/pod/Catalyst::Manual::Tutorial >>> https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD >>> >>> I'm also sure you could do this using Mojolicious. But, again, you're >>> SOL unless you're willing to learn how to work with these technologies. >>> >>> -Alan >>> >>> >>> >>> >>> On 7/29/2015 11:55 AM, Richard Reina wrote: >>> >>> I do not know HTML. I have created a website with dreamweaver that mostly >>> just looks pretty and and jumps to different pages on a site. I have also >>> written a database app with perl->MySQL that users on a small LAN can use to >>> enter and query data. However, it is displayed on linux consoles using >>> rudimentary menu apps based on curses. I would like to create a website that >>> would allow users to enter and query data from MySQL databases and carry out >>> functions such as updating users via email when changes are made. Since I >>> don't know HTML or Apache can I just use dreamweaver and somehow enter perl >>> code to talk to MySQL? Or is there a better and easier way for me to go >>> about this? >>> >>> Thanks for any ideas. >>> >>> Richard >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> >>> -- >>> >>> Alan D. Mead, Ph.D. >>> President, Talent Algorithms Inc. >>> >>> science + technology = better workers >>> >>> +815.588.3846 (Office) >>> +267.334.4143 (Mobile) >>> >>> http://www.alanmead.org >>> >>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>> peer-reviewed electronic journal designed to advance the science and >>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> -- >> >> Alan D. Mead, Ph.D. >> President, Talent Algorithms Inc. >> >> science + technology = better workers >> >> +815.588.3846 (Office) >> +267.334.4143 (Mobile) >> >> http://www.alanmead.org >> >> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >> peer-reviewed electronic journal designed to advance the science and >> practice of computerized adaptive testing: http://www.iacat.org/jcat >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk > > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Best Regards, [Joseph] Christian Werner Sr C 757.515.9306 H 757.304.0502 Txt 757.304.0502 From madcityzen at gmail.com Wed Jul 29 18:00:25 2015 From: madcityzen at gmail.com (Doug Bell) Date: Wed, 29 Jul 2015 20:00:25 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> <55B94717.4060606@alanmead.org> <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> Message-ID: Similar to the Dancer tutorial, here's a Mojolicious tutorial: http://mojolicio.us/perldoc/Mojolicious/Guides/Tutorial#Hello-World If you have questions and want real-time help, the Chicago.PM has an IRC channel as well on irc.perl.org #chicago.pm (http://mibbit.com/?channel=%23chicago.pm&server=irc.perl.org ), though it is kind of slow (I'm preaction). There are Catalyst (#catalyst), Dancer (#dancer), and Mojolicious (#mojo) help channels on irc.perl.org as well, and mailing lists for both if e-mail is better. Doug Bell madcityzen at gmail.com > On Jul 29, 2015, at 5:41 PM, Richard Reina wrote: > > Alan, > > For this thorough and thoughtful reply. The dancer tutorial looks less intimidating than the catalyst examples I looked at. I will get started by trying to create a simple CRUD page that will allow me to play with a database. > > Thank you > > > > El jul 29, 2015, a las 4:35 PM, Alan Mead > escribi?: > >> Web development is quite different from an app running on a server or desktop. Part of the reason that frameworks seem different is driven by this environmental difference which is inevitable. >> >> I can see why someone who knows well Perl might not like the idea of using a framework, because learning the framework is almost like learning to code a new language (in a way). But consider that if you were to re-invent the same wheel, you would make a number of mistakes that the framework builders have already mastered. Also, the frameworks will already have a number of features that you can just mix in. If you re-invent the wheel, you'll have to re-invent each feature that you want to add. For example, authentication isn't a trivial issue. You haven't mentioned authentication, but I assume you don't want everyone on the Internet to be able to edit your clients' records. Any framework is likely to have authentication built in. Another example: a CRUD website is really, really common so you should find it very easy... I found this page that describes a sample Dancer app that seems to do at least some of what you want: >> >> http://advent.perldancer.org/2011/2 >> >> Another emphasis of modern frameworks is making it really easy to use. The page above shows you how to run the Dancer app using an embedded webserver. So, you don't need to learn about web servers, etc.; you can dive right in. >> >> Dreamweaver is fine for creating the HTML but any approach to building a dynamic website is going to require that you learn enough HTML to create templates. In the example app described above, the templates are in the /view folder. If you've mastered Perl and SQL, HTML isn't going to be a big problem, but there's no avoiding it. >> >> -Alan >> >> >> On 7/29/2015 3:48 PM, Richard Reina wrote: >>> Your response if good. It's that I don't really understand what a framework is. I've built a website with dreamweaver (without knowing any html). Now I would just like to build another small site that links to a MySQL database. I see a lot of people use php but since I already know perl and DBI I figured I could go that route. I'm just confused about what these frameworks are (catalyst, mojolicious, dancer) and how they fit in. Maybe I can hire a reasonably priced tutor ;) >>> >>> >>> 2015-07-29 15:34 GMT-05:00 Alan Mead >: >>> Well, I don't want to discourage you (or be a jerk) but when you state that you "don't know HTML" it seems like any web-based project is going to be way, way, way over your head. >>> >>> There are a million ways to accomplish the site you want. Using a framework would be better for many people, but you'd have to learn the framework. If you want to learn as little as possible, then you might want to make some simple CGI scripts but that approach will require learning about how Apache works (at least a bit). You could also use PHP. >>> >>> -Alan >>> >>> >>> >>> On 7/29/2015 3:14 PM, Richard Reina wrote: >>>> Wow just took a look at catalyst. Seems easier to just stick with Dreamweaver and access my MySQL tables with php -- if you are saying I can't do so with perl. >>>> >>>> >>>> >>>> 2015-07-29 12:52 GMT-05:00 Alan Mead >: >>>> Richard, >>>> >>>> You'll need to learn enough HTML to transform your Dreamweaver output files into templates. There are many ways to do this but you probably want a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial includes the kind of website you want to build (as "CRUD"): >>>> >>>> https://metacpan.org/pod/Catalyst::Manual::Tutorial >>>> https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD >>>> >>>> I'm also sure you could do this using Mojolicious. But, again, you're SOL unless you're willing to learn how to work with these technologies. >>>> >>>> -Alan >>>> >>>> >>>> >>>> >>>> On 7/29/2015 11:55 AM, Richard Reina wrote: >>>>> I do not know HTML. I have created a website with dreamweaver that mostly just looks pretty and and jumps to different pages on a site. I have also written a database app with perl->MySQL that users on a small LAN can use to enter and query data. However, it is displayed on linux consoles using rudimentary menu apps based on curses. I would like to create a website that would allow users to enter and query data from MySQL databases and carry out functions such as updating users via email when changes are made. Since I don't know HTML or Apache can I just use dreamweaver and somehow enter perl code to talk to MySQL? Or is there a better and easier way for me to go about this? >>>>> >>>>> Thanks for any ideas. >>>>> >>>>> Richard >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago-talk mailing list >>>>> Chicago-talk at pm.org >>>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>> -- >>>> >>>> Alan D. Mead, Ph.D. >>>> President, Talent Algorithms Inc. >>>> >>>> science + technology = better workers >>>> >>>> +815.588.3846 (Office) >>>> +267.334.4143 (Mobile) >>>> >>>> http://www.alanmead.org >>>> >>>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>>> peer-reviewed electronic journal designed to advance the science and >>>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>>> _______________________________________________ >>>> Chicago-talk mailing list >>>> Chicago-talk at pm.org >>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>> >>>> >>>> >>>> _______________________________________________ >>>> Chicago-talk mailing list >>>> Chicago-talk at pm.org >>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> -- >>> >>> Alan D. Mead, Ph.D. >>> President, Talent Algorithms Inc. >>> >>> science + technology = better workers >>> >>> +815.588.3846 (Office) >>> +267.334.4143 (Mobile) >>> >>> http://www.alanmead.org >>> >>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>> peer-reviewed electronic journal designed to advance the science and >>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >> -- >> >> Alan D. Mead, Ph.D. >> President, Talent Algorithms Inc. >> >> science + technology = better workers >> >> +815.588.3846 (Office) >> +267.334.4143 (Mobile) >> >> http://www.alanmead.org >> >> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >> peer-reviewed electronic journal designed to advance the science and >> practice of computerized adaptive testing: http://www.iacat.org/jcat _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Thu Jul 30 07:14:49 2015 From: gatorreina at gmail.com (Richard Reina) Date: Thu, 30 Jul 2015 09:14:49 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> <55B94717.4060606@alanmead.org> <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> Message-ID: When I try: #!/usr/bin/perl # In your Dancer app, use Dancer::Plugin::SimpleCRUD; # Simple example: simple_crud( record_title => 'Widget', prefix => '/widgets', db_table => 'widgets', editable => 1, ); I get: root at gemini:/home/richard/dancer# perl simple_CRUD.pl Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.14.2/Dancer/Plugin/Database/Core.pm line 199. Any idea what I am doing wrong? 2015-07-29 20:00 GMT-05:00 Doug Bell : > Similar to the Dancer tutorial, here's a Mojolicious tutorial: > http://mojolicio.us/perldoc/Mojolicious/Guides/Tutorial#Hello-World > > If you have questions and want real-time help, the Chicago.PM has an IRC > channel as well on irc.perl.org #chicago.pm ( > http://mibbit.com/?channel=%23chicago.pm&server=irc.perl.org > ), though it > is kind of slow (I'm preaction). There are Catalyst (#catalyst), Dancer > (#dancer), and Mojolicious (#mojo) help channels on irc.perl.org as well, > and mailing lists for both if e-mail is better. > > Doug Bell > madcityzen at gmail.com > > > > On Jul 29, 2015, at 5:41 PM, Richard Reina wrote: > > Alan, > > For this thorough and thoughtful reply. The dancer tutorial looks less > intimidating than the catalyst examples I looked at. I will get started by > trying to create a simple CRUD page that will allow me to play with a > database. > > Thank you > > > > El jul 29, 2015, a las 4:35 PM, Alan Mead escribi?: > > Web development is quite different from an app running on a server or > desktop. Part of the reason that frameworks seem different is driven by > this environmental difference which is inevitable. > > I can see why someone who knows well Perl might not like the idea of using > a framework, because learning the framework is almost like learning to code > a new language (in a way). But consider that if you were to re-invent the > same wheel, you would make a number of mistakes that the framework builders > have already mastered. Also, the frameworks will already have a number of > features that you can just mix in. If you re-invent the wheel, you'll have > to re-invent each feature that you want to add. For example, > authentication isn't a trivial issue. You haven't mentioned authentication, > but I assume you don't want everyone on the Internet to be able to edit > your clients' records. Any framework is likely to have authentication built > in. Another example: a CRUD website is really, really common so you should > find it very easy... I found this page that describes a sample Dancer app > that seems to do at least some of what you want: > > http://advent.perldancer.org/2011/2 > > Another emphasis of modern frameworks is making it really easy to use. > The page above shows you how to run the Dancer app using an embedded > webserver. So, you don't need to learn about web servers, etc.; you can > dive right in. > > Dreamweaver is fine for creating the HTML but any approach to building a > dynamic website is going to require that you learn enough HTML to create > templates. In the example app described above, the templates are in the > /view folder. If you've mastered Perl and SQL, HTML isn't going to be a > big problem, but there's no avoiding it. > > -Alan > > > On 7/29/2015 3:48 PM, Richard Reina wrote: > > Your response if good. It's that I don't really understand what a > framework is. I've built a website with dreamweaver (without knowing any > html). Now I would just like to build another small site that links to a > MySQL database. I see a lot of people use php but since I already know perl > and DBI I figured I could go that route. I'm just confused about what these > frameworks are (catalyst, mojolicious, dancer) and how they fit in. Maybe I > can hire a reasonably priced tutor ;) > > > 2015-07-29 15:34 GMT-05:00 Alan Mead : > >> Well, I don't want to discourage you (or be a jerk) but when you state >> that you "don't know HTML" it seems like any web-based project is going to >> be way, way, way over your head. >> >> There are a million ways to accomplish the site you want. Using a >> framework would be better for many people, but you'd have to learn the >> framework. If you want to learn as little as possible, then you might want >> to make some simple CGI scripts but that approach will require learning >> about how Apache works (at least a bit). You could also use PHP. >> >> -Alan >> >> >> >> On 7/29/2015 3:14 PM, Richard Reina wrote: >> >> Wow just took a look at catalyst. Seems easier to just stick with >> Dreamweaver and access my MySQL tables with php -- if you are saying I >> can't do so with perl. >> >> >> >> 2015-07-29 12:52 GMT-05:00 Alan Mead : >> >>> Richard, >>> >>> You'll need to learn enough HTML to transform your Dreamweaver output >>> files into templates. There are many ways to do this but you probably want >>> a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial >>> includes the kind of website you want to build (as "CRUD"): >>> >>> https://metacpan.org/pod/Catalyst::Manual::Tutorial >>> https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD >>> >>> I'm also sure you could do this using Mojolicious. But, again, you're >>> SOL unless you're willing to learn how to work with these technologies. >>> >>> -Alan >>> >>> >>> >>> >>> On 7/29/2015 11:55 AM, Richard Reina wrote: >>> >>> I do not know HTML. I have created a website with dreamweaver that >>> mostly just looks pretty and and jumps to different pages on a site. I have >>> also written a database app with perl->MySQL that users on a small LAN can >>> use to enter and query data. However, it is displayed on linux consoles >>> using rudimentary menu apps based on curses. I would like to create a >>> website that would allow users to enter and query data from MySQL databases >>> and carry out functions such as updating users via email when changes are >>> made. Since I don't know HTML or Apache can I just use dreamweaver and >>> somehow enter perl code to talk to MySQL? Or is there a better and easier >>> way for me to go about this? >>> >>> Thanks for any ideas. >>> >>> Richard >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> >>> -- >>> >>> Alan D. Mead, Ph.D. >>> President, Talent Algorithms Inc. >>> >>> science + technology = better workers >>> >>> +815.588.3846 (Office) >>> +267.334.4143 (Mobile) >>> >>> http://www.alanmead.org >>> >>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>> peer-reviewed electronic journal designed to advance the science and >>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >> >> >> >> _______________________________________________ >> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> -- >> >> Alan D. Mead, Ph.D. >> President, Talent Algorithms Inc. >> >> science + technology = better workers >> >> +815.588.3846 (Office) >> +267.334.4143 (Mobile) >> http://www.alanmead.org >> >> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >> peer-reviewed electronic journal designed to advance the science and >> practice of computerized adaptive testing: http://www.iacat.org/jcat >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > > > > _______________________________________________ > Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk > > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel.limardo at forwardphase.com Thu Jul 30 07:39:16 2015 From: joel.limardo at forwardphase.com (Joel Limardo) Date: Thu, 30 Jul 2015 09:39:16 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> <55B94717.4060606@alanmead.org> <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> Message-ID: Why are you logged in as root? On Thu, Jul 30, 2015 at 9:14 AM, Richard Reina wrote: > When I try: > > #!/usr/bin/perl > > # In your Dancer app, > use Dancer::Plugin::SimpleCRUD; > > # Simple example: > simple_crud( > record_title => 'Widget', > prefix => '/widgets', > db_table => 'widgets', > editable => 1, > ); > > I get: > > root at gemini:/home/richard/dancer# perl simple_CRUD.pl > Use of uninitialized value in concatenation (.) or string at > /usr/local/share/perl/5.14.2/Dancer/Plugin/Database/Core.pm line 199. > > Any idea what I am doing wrong? > > > > > 2015-07-29 20:00 GMT-05:00 Doug Bell : > >> Similar to the Dancer tutorial, here's a Mojolicious tutorial: >> http://mojolicio.us/perldoc/Mojolicious/Guides/Tutorial#Hello-World >> >> If you have questions and want real-time help, the Chicago.PM has an IRC >> channel as well on irc.perl.org #chicago.pm ( >> http://mibbit.com/?channel=%23chicago.pm&server=irc.perl.org >> ), though it >> is kind of slow (I'm preaction). There are Catalyst (#catalyst), Dancer >> (#dancer), and Mojolicious (#mojo) help channels on irc.perl.org as >> well, and mailing lists for both if e-mail is better. >> >> Doug Bell >> madcityzen at gmail.com >> >> >> >> On Jul 29, 2015, at 5:41 PM, Richard Reina wrote: >> >> Alan, >> >> For this thorough and thoughtful reply. The dancer tutorial looks less >> intimidating than the catalyst examples I looked at. I will get started by >> trying to create a simple CRUD page that will allow me to play with a >> database. >> >> Thank you >> >> >> >> El jul 29, 2015, a las 4:35 PM, Alan Mead escribi?: >> >> Web development is quite different from an app running on a server or >> desktop. Part of the reason that frameworks seem different is driven by >> this environmental difference which is inevitable. >> >> I can see why someone who knows well Perl might not like the idea of >> using a framework, because learning the framework is almost like learning >> to code a new language (in a way). But consider that if you were to >> re-invent the same wheel, you would make a number of mistakes that the >> framework builders have already mastered. Also, the frameworks will already >> have a number of features that you can just mix in. If you re-invent the >> wheel, you'll have to re-invent each feature that you want to add. For >> example, authentication isn't a trivial issue. You haven't mentioned >> authentication, but I assume you don't want everyone on the Internet to be >> able to edit your clients' records. Any framework is likely to have >> authentication built in. Another example: a CRUD website is really, really >> common so you should find it very easy... I found this page that describes >> a sample Dancer app that seems to do at least some of what you want: >> >> http://advent.perldancer.org/2011/2 >> >> Another emphasis of modern frameworks is making it really easy to use. >> The page above shows you how to run the Dancer app using an embedded >> webserver. So, you don't need to learn about web servers, etc.; you can >> dive right in. >> >> Dreamweaver is fine for creating the HTML but any approach to building a >> dynamic website is going to require that you learn enough HTML to create >> templates. In the example app described above, the templates are in the >> /view folder. If you've mastered Perl and SQL, HTML isn't going to be a >> big problem, but there's no avoiding it. >> >> -Alan >> >> >> On 7/29/2015 3:48 PM, Richard Reina wrote: >> >> Your response if good. It's that I don't really understand what a >> framework is. I've built a website with dreamweaver (without knowing any >> html). Now I would just like to build another small site that links to a >> MySQL database. I see a lot of people use php but since I already know perl >> and DBI I figured I could go that route. I'm just confused about what these >> frameworks are (catalyst, mojolicious, dancer) and how they fit in. Maybe I >> can hire a reasonably priced tutor ;) >> >> >> 2015-07-29 15:34 GMT-05:00 Alan Mead : >> >>> Well, I don't want to discourage you (or be a jerk) but when you state >>> that you "don't know HTML" it seems like any web-based project is going to >>> be way, way, way over your head. >>> >>> There are a million ways to accomplish the site you want. Using a >>> framework would be better for many people, but you'd have to learn the >>> framework. If you want to learn as little as possible, then you might want >>> to make some simple CGI scripts but that approach will require learning >>> about how Apache works (at least a bit). You could also use PHP. >>> >>> -Alan >>> >>> >>> >>> On 7/29/2015 3:14 PM, Richard Reina wrote: >>> >>> Wow just took a look at catalyst. Seems easier to just stick with >>> Dreamweaver and access my MySQL tables with php -- if you are saying I >>> can't do so with perl. >>> >>> >>> >>> 2015-07-29 12:52 GMT-05:00 Alan Mead : >>> >>>> Richard, >>>> >>>> You'll need to learn enough HTML to transform your Dreamweaver output >>>> files into templates. There are many ways to do this but you probably want >>>> a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial >>>> includes the kind of website you want to build (as "CRUD"): >>>> >>>> https://metacpan.org/pod/Catalyst::Manual::Tutorial >>>> https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD >>>> >>>> I'm also sure you could do this using Mojolicious. But, again, you're >>>> SOL unless you're willing to learn how to work with these technologies. >>>> >>>> -Alan >>>> >>>> >>>> >>>> >>>> On 7/29/2015 11:55 AM, Richard Reina wrote: >>>> >>>> I do not know HTML. I have created a website with dreamweaver that >>>> mostly just looks pretty and and jumps to different pages on a site. I have >>>> also written a database app with perl->MySQL that users on a small LAN can >>>> use to enter and query data. However, it is displayed on linux consoles >>>> using rudimentary menu apps based on curses. I would like to create a >>>> website that would allow users to enter and query data from MySQL databases >>>> and carry out functions such as updating users via email when changes are >>>> made. Since I don't know HTML or Apache can I just use dreamweaver and >>>> somehow enter perl code to talk to MySQL? Or is there a better and easier >>>> way for me to go about this? >>>> >>>> Thanks for any ideas. >>>> >>>> Richard >>>> >>>> >>>> _______________________________________________ >>>> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >>>> >>>> >>>> -- >>>> >>>> Alan D. Mead, Ph.D. >>>> President, Talent Algorithms Inc. >>>> >>>> science + technology = better workers >>>> >>>> +815.588.3846 (Office) >>>> +267.334.4143 (Mobile) >>>> >>>> http://www.alanmead.org >>>> >>>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>>> peer-reviewed electronic journal designed to advance the science and >>>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>>> >>>> >>>> _______________________________________________ >>>> Chicago-talk mailing list >>>> Chicago-talk at pm.org >>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>> >>> >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> >>> -- >>> >>> Alan D. Mead, Ph.D. >>> President, Talent Algorithms Inc. >>> >>> science + technology = better workers >>> >>> +815.588.3846 (Office) >>> +267.334.4143 (Mobile) >>> http://www.alanmead.org >>> >>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>> peer-reviewed electronic journal designed to advance the science and >>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >> >> >> >> _______________________________________________ >> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> -- >> >> Alan D. Mead, Ph.D. >> President, Talent Algorithms Inc. >> >> science + technology = better workers >> >> +815.588.3846 (Office) >> +267.334.4143 (Mobile) >> http://www.alanmead.org >> >> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >> peer-reviewed electronic journal designed to advance the science and >> practice of computerized adaptive testing: http://www.iacat.org/jcat >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Thu Jul 30 07:47:55 2015 From: gatorreina at gmail.com (Richard Reina) Date: Thu, 30 Jul 2015 09:47:55 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> <55B94717.4060606@alanmead.org> <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> Message-ID: Installed as root. Forgot to go back to user. Same happens when I execute as $. 2015-07-30 9:39 GMT-05:00 Joel Limardo : > Why are you logged in as root? > > > On Thu, Jul 30, 2015 at 9:14 AM, Richard Reina > wrote: > >> When I try: >> >> #!/usr/bin/perl >> >> # In your Dancer app, >> use Dancer::Plugin::SimpleCRUD; >> >> # Simple example: >> simple_crud( >> record_title => 'Widget', >> prefix => '/widgets', >> db_table => 'widgets', >> editable => 1, >> ); >> >> I get: >> >> root at gemini:/home/richard/dancer# perl simple_CRUD.pl >> Use of uninitialized value in concatenation (.) or string at >> /usr/local/share/perl/5.14.2/Dancer/Plugin/Database/Core.pm line 199. >> >> Any idea what I am doing wrong? >> >> >> >> >> 2015-07-29 20:00 GMT-05:00 Doug Bell : >> >>> Similar to the Dancer tutorial, here's a Mojolicious tutorial: >>> http://mojolicio.us/perldoc/Mojolicious/Guides/Tutorial#Hello-World >>> >>> If you have questions and want real-time help, the Chicago.PM has an IRC >>> channel as well on irc.perl.org #chicago.pm ( >>> http://mibbit.com/?channel=%23chicago.pm&server=irc.perl.org >>> ), though >>> it is kind of slow (I'm preaction). There are Catalyst (#catalyst), Dancer >>> (#dancer), and Mojolicious (#mojo) help channels on irc.perl.org as >>> well, and mailing lists for both if e-mail is better. >>> >>> Doug Bell >>> madcityzen at gmail.com >>> >>> >>> >>> On Jul 29, 2015, at 5:41 PM, Richard Reina wrote: >>> >>> Alan, >>> >>> For this thorough and thoughtful reply. The dancer tutorial looks less >>> intimidating than the catalyst examples I looked at. I will get started by >>> trying to create a simple CRUD page that will allow me to play with a >>> database. >>> >>> Thank you >>> >>> >>> >>> El jul 29, 2015, a las 4:35 PM, Alan Mead >>> escribi?: >>> >>> Web development is quite different from an app running on a server or >>> desktop. Part of the reason that frameworks seem different is driven by >>> this environmental difference which is inevitable. >>> >>> I can see why someone who knows well Perl might not like the idea of >>> using a framework, because learning the framework is almost like learning >>> to code a new language (in a way). But consider that if you were to >>> re-invent the same wheel, you would make a number of mistakes that the >>> framework builders have already mastered. Also, the frameworks will already >>> have a number of features that you can just mix in. If you re-invent the >>> wheel, you'll have to re-invent each feature that you want to add. For >>> example, authentication isn't a trivial issue. You haven't mentioned >>> authentication, but I assume you don't want everyone on the Internet to be >>> able to edit your clients' records. Any framework is likely to have >>> authentication built in. Another example: a CRUD website is really, really >>> common so you should find it very easy... I found this page that describes >>> a sample Dancer app that seems to do at least some of what you want: >>> >>> http://advent.perldancer.org/2011/2 >>> >>> Another emphasis of modern frameworks is making it really easy to use. >>> The page above shows you how to run the Dancer app using an embedded >>> webserver. So, you don't need to learn about web servers, etc.; you can >>> dive right in. >>> >>> Dreamweaver is fine for creating the HTML but any approach to building a >>> dynamic website is going to require that you learn enough HTML to create >>> templates. In the example app described above, the templates are in the >>> /view folder. If you've mastered Perl and SQL, HTML isn't going to be a >>> big problem, but there's no avoiding it. >>> >>> -Alan >>> >>> >>> On 7/29/2015 3:48 PM, Richard Reina wrote: >>> >>> Your response if good. It's that I don't really understand what a >>> framework is. I've built a website with dreamweaver (without knowing any >>> html). Now I would just like to build another small site that links to a >>> MySQL database. I see a lot of people use php but since I already know perl >>> and DBI I figured I could go that route. I'm just confused about what these >>> frameworks are (catalyst, mojolicious, dancer) and how they fit in. Maybe I >>> can hire a reasonably priced tutor ;) >>> >>> >>> 2015-07-29 15:34 GMT-05:00 Alan Mead : >>> >>>> Well, I don't want to discourage you (or be a jerk) but when you state >>>> that you "don't know HTML" it seems like any web-based project is going to >>>> be way, way, way over your head. >>>> >>>> There are a million ways to accomplish the site you want. Using a >>>> framework would be better for many people, but you'd have to learn the >>>> framework. If you want to learn as little as possible, then you might want >>>> to make some simple CGI scripts but that approach will require learning >>>> about how Apache works (at least a bit). You could also use PHP. >>>> >>>> -Alan >>>> >>>> >>>> >>>> On 7/29/2015 3:14 PM, Richard Reina wrote: >>>> >>>> Wow just took a look at catalyst. Seems easier to just stick with >>>> Dreamweaver and access my MySQL tables with php -- if you are saying I >>>> can't do so with perl. >>>> >>>> >>>> >>>> 2015-07-29 12:52 GMT-05:00 Alan Mead : >>>> >>>>> Richard, >>>>> >>>>> You'll need to learn enough HTML to transform your Dreamweaver output >>>>> files into templates. There are many ways to do this but you probably want >>>>> a framework like Mojolicious or Catalyst. I see that the Catalyst tutorial >>>>> includes the kind of website you want to build (as "CRUD"): >>>>> >>>>> https://metacpan.org/pod/Catalyst::Manual::Tutorial >>>>> https://metacpan.org/pod/Catalyst::Manual::Tutorial::04_BasicCRUD >>>>> >>>>> I'm also sure you could do this using Mojolicious. But, again, you're >>>>> SOL unless you're willing to learn how to work with these technologies. >>>>> >>>>> -Alan >>>>> >>>>> >>>>> >>>>> >>>>> On 7/29/2015 11:55 AM, Richard Reina wrote: >>>>> >>>>> I do not know HTML. I have created a website with dreamweaver that >>>>> mostly just looks pretty and and jumps to different pages on a site. I have >>>>> also written a database app with perl->MySQL that users on a small LAN can >>>>> use to enter and query data. However, it is displayed on linux consoles >>>>> using rudimentary menu apps based on curses. I would like to create a >>>>> website that would allow users to enter and query data from MySQL databases >>>>> and carry out functions such as updating users via email when changes are >>>>> made. Since I don't know HTML or Apache can I just use dreamweaver and >>>>> somehow enter perl code to talk to MySQL? Or is there a better and easier >>>>> way for me to go about this? >>>>> >>>>> Thanks for any ideas. >>>>> >>>>> Richard >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >>>>> >>>>> >>>>> -- >>>>> >>>>> Alan D. Mead, Ph.D. >>>>> President, Talent Algorithms Inc. >>>>> >>>>> science + technology = better workers >>>>> >>>>> +815.588.3846 (Office) >>>>> +267.334.4143 (Mobile) >>>>> >>>>> http://www.alanmead.org >>>>> >>>>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>>>> peer-reviewed electronic journal designed to advance the science and >>>>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago-talk mailing list >>>>> Chicago-talk at pm.org >>>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >>>> >>>> >>>> -- >>>> >>>> Alan D. Mead, Ph.D. >>>> President, Talent Algorithms Inc. >>>> >>>> science + technology = better workers >>>> >>>> +815.588.3846 (Office) >>>> +267.334.4143 (Mobile) >>>> http://www.alanmead.org >>>> >>>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>>> peer-reviewed electronic journal designed to advance the science and >>>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>>> >>>> >>>> _______________________________________________ >>>> Chicago-talk mailing list >>>> Chicago-talk at pm.org >>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>> >>> >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing listChicago-talk at pm.orghttp://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> >>> -- >>> >>> Alan D. Mead, Ph.D. >>> President, Talent Algorithms Inc. >>> >>> science + technology = better workers >>> >>> +815.588.3846 (Office) >>> +267.334.4143 (Mobile) >>> http://www.alanmead.org >>> >>> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >>> peer-reviewed electronic journal designed to advance the science and >>> practice of computerized adaptive testing: http://www.iacat.org/jcat >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > > > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andy_Bach at wiwb.uscourts.gov Thu Jul 30 10:53:35 2015 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Thu, 30 Jul 2015 12:53:35 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> <55B94717.4060606@alanmead.org> <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> Message-ID: On Thu, Jul 30, 2015 at 9:14 AM, Richard Reina wrote: When I try: #!/usr/bin/perl # In your Dancer app, use Dancer::Plugin::SimpleCRUD; That second comment is the key - not from the command line, but in a Dancer app. line 199 is # Given the settings to use, try to get a database connection sub _get_connection { my ($settings, $logger, $hook_exec) = @_; # Assemble the DSN: my $dsn = ''; my $driver = ''; if ($settings->{dsn}) { $dsn = $settings->{dsn}; ($driver) = $dsn =~ m{^dbi:([^:]+)}i; } else { $dsn = "dbi:" . $settings->{driver}; <-- line 199 attempting to connect to your backend via DBI using a config settings setup. ---------------------- Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov Voice: (608) 261-5738, Cell: (608) 658-1890 "Only the insane take themselves quite seriously." Max Beerbohm "Life is far too important to be taken seriously." Oscar Wilde -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Thu Jul 30 11:15:02 2015 From: gatorreina at gmail.com (Richard Reina) Date: Thu, 30 Jul 2015 13:15:02 -0500 Subject: [Chicago-talk] Dreamweaver perl and mysql In-Reply-To: References: <55B912DC.8080204@alanmead.org> <55B938BA.5020803@alanmead.org> <55B94717.4060606@alanmead.org> <0F8BC2E8-698B-4FED-A729-648DEFFBE387@gmail.com> Message-ID: Hi Andy, Thank you for the reply. I think my problem maybe that I have not properly configured my config.yml file to talk to my local MySQL database. Having problems getting it to work. If you know of any clear examples of a config.yml file that works for a local mysql database. Please let me know. 2015-07-30 12:53 GMT-05:00 : > On Thu, Jul 30, 2015 at 9:14 AM, Richard Reina <*gatorreina at gmail.com* > > wrote: > When I try: > > #!/usr/bin/perl > > # In your Dancer app, > use Dancer::Plugin::SimpleCRUD; > > > That second comment is the key - not from the command line, but in a > Dancer app. line 199 is > # Given the settings to use, try to get a database connection > sub _get_connection { > my ($settings, $logger, $hook_exec) = @_; > > # Assemble the DSN: > my $dsn = ''; > my $driver = ''; > if ($settings->{dsn}) { > $dsn = $settings->{dsn}; > ($driver) = $dsn =~ m{^dbi:([^:]+)}i; > } else { > $dsn = "dbi:" . $settings->{driver}; <-- line 199 > > attempting to connect to your backend via DBI using a config settings > setup. > > ---------------------- > Andy Bach > Systems Mangler > Internet: andy_bach at wiwb.uscourts.gov > Voice: (608) 261-5738, Cell: (608) 658-1890 > > "Only the insane take themselves quite seriously." Max Beerbohm > "Life is far too important to be taken seriously." Oscar Wilde > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: