On 11/08/2014 10:39 AM, Артём Варнайский wrote:
Hi folks!
I want to create a news website. Something like a public blog, where
everyone, who wants be able to add post to the news line. I want to add
new sections later (Job ads, articles on various subjects, photo
gallery, etc). I know perl basics, cgi, js, css, html  and even
developed small dynamical sites on 'vanilla' perl (about 5 pages), but
haven’t written anything complex yet.
I haven’t mastered perl modules and object-oriented programming. I know
everything separately, but when I try to get things together, my
creation turnes into garbage (from the standpoint of support).  There is
a little bit more then 3 months left.
I think to use dancer, but I’m not sure. Is it good choice for beginner?
Also, I have no idea how to design databases. For example, should I
store photos separately from the DB or in it? Prompt me with useful
books / articles, please. How to gather it all together and make it work
with the prospect of growth,  where to start?
In the end, just wish me good luck.
Hope you will understand my runglish. Thank you.


I can recommend the courses at https://geekuni.com/
They might be just what you are looking for.

Dancer would work fine, but for someone that is new, trying to figure out how to deploy (plack, cgi, fcgi) might seem confusing. Also there really is no design pattern behind Dancer, you are free to set up your routes and namespaces as you want. That can be really confusing since you are not forced to stay on any one design path and all your choices might just feel wrong at first.

There is a nice blog that is in Dancer that I sometimes use as a reference: https://github.com/Perl-Evozon/PearlBee

For database design, there is a small section about normalization in this book: http://tinyurl.com/pqun7sf that I found really easy to follow. Though it is for mysql and I only use postgresql now.

And as an extra secret, a year after you develop all this, you will probably want to throw it all away since you will always be continuing to learn and you'll start to see all your design mistakes later on. The point is, just start somewhere and keep working on it :)


--Sam

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to