nerdgeneration
Re:I got tired of PHP and Perl, so I tried bash
on Saturday April 13, 2019 @08:10PM (#19656639)
It doesn't. The route defines the controller. The controller displays the content, ideally using the view function (there are examples with and without a view, but always with a controller). The view function takes an associative array for template replacements.
Re:I got tired of PHP and Perl, so I tried bash
on Saturday April 13, 2019 @08:08PM (#19656628)
Thank you! ;)
Re:I got tired of PHP and Perl, so I tried bash
on Saturday April 13, 2019 @08:08PM (#19656626)
Maybe when I finish the assembler version...
Re:I got tired of PHP and Perl, so I tried bash
on Saturday April 13, 2019 @08:06PM (#19656621)
It's just personal. I did Perl in 1997/98 and 2017 to now. I did PHP from 1998 to 2017.
Re:I got tired of PHP and Perl, so I tried bash
on Saturday April 13, 2019 @08:03PM (#19656603)
Whenever I write anything in bash, I start off fine, but tend to dig my heels in as it gets harder and refuse to switch languages.
Re:I got tired of PHP and Perl, so I tried bash
on Saturday April 13, 2019 @08:02PM (#19656599)
Nope. TIL about ShellCheck and BATS, and got a Dockerfile feature request. They're all on my to do list.
Re:I got tired of PHP and Perl, so I tried bash
on Saturday April 13, 2019 @04:57AM (#19651871)
I made some progress with an assembler version but it's just gruelling, hard work.
Re:I got tired of PHP and Perl, so I tried bash
on Friday April 12, 2019 @06:55PM (#19649773)
So anyway, I've been writing websites for 20 years, and this seemed fun. Some friend suggested I post it here, so I'm doing that just to shut him up.