Jump to menu and information about this site.

Saturday·04·February·2006

Not too simple for CPAN

It has been said before that this code is “too simple” for CPAN, but I must disagree. I have seen people write this kind of code over and over again and they always get it wrong. Perhaps now they will spend more time getting the rest of their code right…
Leon Brocard in the docs for Data::Page

Thursday·02·February·2006

I wish I were this good:

Web Developer


Reply to: swjobs@imageworks.com
Date: 2006-01-31, 4:22PM PST


Sony Pictures Imageworks, an Academy Award winning digital production studio, is seeking an experienced Web Developer. This position will code web applications using Perl and JavaScript working under the direction of a senior web applications developer.



Qualified candidates must have 3-5 years experience analyzing complex business processes and transforming these processes into maintainable, flexible, and configurable software systems. Candidates must be able to show the ability to breakdown a business process into roles, domain objects, state transition diagrams, and workflow. Additionally, candidates must show a firm understanding of design patterns, particularly separation of concerns. Candidates should be self-starters comfortable with gathering requirements and interacting with end-users to expand and improve application functionality.



The ideal candidate is a Perl expert who is well-versed in the more advanced features of the language, including duck typing, closures, and functional composition. Additionally candidates should have a firm understanding of the Oracle database, including schema creation and the use of explain plan to optimize queries. An exceptional candidate would also have the ability to write web application GUIs, including the use of Javascript and AJAX.



Required skills:
Perl
HTML/CSS/Javascript/AJAX
Apache/mod_perl configuration and deployment
Oracle (DDL,DML,PL/SQL)
CVS/Subversion (including the ability to branch and merge)
Ability to develop in a LINUX environment



Helpful skills:
Java/J2EE/JBoss/Hibernate
Python
SOAP
XSLT



Wednesday·01·February·2006

HTML::Seamstress::new_from_file() now reblesses the whole tree

To date, Seamstress has supported tree-based rewriting of HTML trees by blessing the $tree into a class which has these superclasses - HTML::Seamstress, HTML::Element::Library, HTML::Element, and any local Element library. That way, you can rewrite the $tree by going:

$tree->this;
$tree->that;
Well, that was all good and fine until today when I tried to call this and that on a subtree of $tree:
my $div = $tree->look_down('_tag' => 'div');
$div->this;
$div->that;
and it did not work because $div was blessed into HTML::Element instead of a class which inherited from the above-mentioned superclasses.

So, the solution was to simply bless all nodes of $tree into the same class. A test case 02.treebless.t shows the new functionality:


package tree::bless;

use Test::More qw(no_plan);
use TestUtils;

use base qw(HTML::Seamstress) ;

my $root = 't/html/treebless';

my $tree = __PACKAGE__->new_from_file("$root.html");

my $li = $tree->look_down(class => 'greg');

is (ref $li, 'tree::bless', 'blessed into proper class');



Monday·30·January·2006

MySQL in-depth: Architecture Type Questions

  1. What is the lost update problem and how does MySQL solve it?
  2. What is a deadlock? Does it happen with a SQL approach to the lost update problem?
  3. How can you solve it without logical units of work?
  4. Discuss relation normalization and denormalization
  5. What is a primary key and for InnoDB tables discuss how the physical ordering of data relates to the primary key

Perl Software Design Blog

About...

This is the weblog of the Perl Software Design Group.

Who We Are

Terrence Brannon
Matthew Sisk
Brock Wilcox
Gary Aston-Jones


Calendar

← 2025 →
Months
Jun
Jul Aug Sep Oct Nov Dec
← June →
Mo Tu We Th Fr Sa Su
           
27 28 29
30            

Search


Search:
Entire Site This Topic Only

Match:
Any All
Partial Whole Words only


Categories

Blogroll

People I know personally




Blogging Software Blogs