Perl Archives

Validation::Class, Mojolicious::Lite and HTML5 Form Field Rendering

This screencast shows how easy it is to create a web application form with HTML5 form fields and client and server-side validation using Mojolicious::Lite, Validation::Class and Validation::Class::Plugin::FormFields. #cpan #perl #mojolicious


I has only just occurred to me that Validation::Class is not a new approach, concept or execution for me. It is merely the result of a refinement process after lots of trial-and-error (mostly error) and time.

In the beginning there was Oogly, then Oogly::Aagly, and finally Validation::Class. All reiterations of the same idea, each a wee bit better executed than the last with Validation::Class being (IMHO) the end-game.

Where are we now:

Validation::Class now has a pretty solid core and test coverage, a plugin system, and I just git-push'd an HTML form field rendering p…

Validation::Class - Completely Rewritten

I have completely rewritten Validation-Class using Moose. The new Validation::Class is better documented and well-tested. I created Validation-Class for a variety of reasons including but not limited to the fact that I wanted/needed a data validation library that was as reusable as possible, syntactically easy to define, and didn't care much about context.

This spawned a new way of looking at data validation, using a class as an application's firewall representing the rules of the data allowed to pass through it, not bound to a use-case and flexible.

I encourage you to check…

Scrappy - Automated Full Service Web Spider

For the past two/three months (on and off) I have been developing a web spider framework that would bring together many web scraping concepts and methodologies and combine them in one library (package). That framework is Scrappy which is a play on the term (scraper happy or happy scraper), not to be misunderstood as a port of Scrapy the Python Scraper Framework.

For the sake of time I will just highlight some of the features that I think are innovative and add value.

Scrappy can be used as DSL or OOP (even interchangeably). e.g.
use …

Project E.T. - I need your help...

Project E.T. is a tech mentoring initiative that I intend to spearhead and that I hope will be adopted internationally. This page serves merely as a whiteboard for concepts and theories. Project E.T. which is an acronym for Each one, Teach one expresses the fundamental idea behind this conceptualization whereby designers, developers, internet marketers, database administrators, programmers, and other manner of technical, creative and/or entrepreneurial persons make it their responsibility to mentor another on a one-on-one or small group basis.

Read More…

Perl across OS' (The Shebang)

The shebang line is the first line of the Perl script denoted by the #! which is the first two characters on the first line of the program which specifies the path to the script's interpreter, in the case of Perl it specifies the path to the Perl executable (interpreter). Perl has been successfully ported to Windows and is available in various flavors, e.g. Vanilla Perl, Strawberry Perl, Chocolate Perl and ActiveState Perl. This is the necessary newbie intro, now for the actual topic...

The shebang line really presents a problem when developers using Windows collaborate on scripts wit…

About awnstudio

user-pic Al Newkirk is a web application developer from Philadelphia, PA in the United States who specializes in Perl development with MySQL on a Windows platform using Strawberry Perl. I do a bunch of other stuff too, stick around and find out what!