Re: [dancer-users] HTML Forms Dancer::Layout::Bootstrap
Hi Warren, I hope this question is okay to post. I know it does deal with frontend but my question also relates directly to dancer. Specifically, can anyone tell me if I want to try using bootstrap with my Dancer2 application would it be helpful to use this dancer plugin Dancer::Layout::Bootstrap or would I be better served to just go to not use it? Thanks 2015-08-13 14:21 GMT-05:00 Warren Young <wyml@etr-usa.com>:
On Aug 13, 2015, at 12:59 PM, Richard Reina <gatorreina@gmail.com> wrote:
Sorry, thought there would be a perl solution instead of one in
javascript.
Login pages are front-end things, so all that’s on-topic for Dancer are things like this:
http://advent.perldancer.org/2014/19
That only talks about the back-end authentication, as is appropriate for Dancer.
There are a bunch of ways to do this, but you’ll get better answers with concrete questions (“I tried X with code Y, and Z happened”) than open-ended ones (“How can I do W in Dancer?”) Show us that you have at least *tried* to solve the problem on your own.
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
On Aug 14, 2015, at 10:29 AM, Richard Reina <gatorreina@gmail.com> wrote:
Hi Warren,
I hope this question is okay to post. I know it does deal with frontend but my question also relates directly to dancer. Specifically, can anyone tell me if I want to try using bootstrap with my Dancer2 application would it be helpful to use this dancer plugin Dancer::Layout::Bootstrap or would I be better served to just go to not use it?
Just my 2c here but your better off learning how to make bootstrap work with your app then using a plugin to simply give you access to something like bootstrap. Also from what I can see this plugin uses bootstrap 2 which I would consider as outdated personally. I would start here http://getbootstrap.com/getting-started/ could be as simple as using the Bootstrap CDN in your template. Maybe try using the example in the POD https://metacpan.org/pod/Dancer2::Tutorial#Layouts see if you can get it to work with bootstrap. -Sam
Thank you Sam your answer really helps. 2015-08-14 10:00 GMT-05:00 Sam Batschelet <sbatschelet@mac.com>:
On Aug 14, 2015, at 10:29 AM, Richard Reina <gatorreina@gmail.com> wrote:
Hi Warren,
I hope this question is okay to post. I know it does deal with frontend but my question also relates directly to dancer. Specifically, can anyone tell me if I want to try using bootstrap with my Dancer2 application would it be helpful to use this dancer plugin Dancer::Layout::Bootstrap or would I be better served to just go to not use it?
Just my 2c here but your better off learning how to make bootstrap work with your app then using a plugin to simply give you access to something like bootstrap. Also from what I can see this plugin uses bootstrap 2 which I would consider as outdated personally. I would start here http://getbootstrap.com/getting-started/ could be as simple as using the Bootstrap CDN in your template. Maybe try using the example in the POD https://metacpan.org/pod/Dancer2::Tutorial#Layouts see if you can get it to work with bootstrap.
-Sam
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
On Aug 14, 2015, at 12:30 PM, Richard Reina <gatorreina@gmail.com> wrote:
Thank you Sam your answer really helps.
<shameless-plug> If your looking for a good Dancer training session besides the many online tutorials.. Sawyer will be at the Perl Dancer conference in Austria this Oct. along with a bunch of other nerdy Dancer folks. https://www.perl.dance/talks/10-programming-the-web-with-dancer perhaps that is of interest to you. </shameless-plug>
participants (2)
-
Richard Reina -
Sam Batschelet