04-16-2009
Good book about the freeBSD architecure
Hi Guys,
I need some help in getting a good book that describes the internals of the freeBSD OS, like the architecure, the process and memory management, etc..
I have some book which is named : the design and implementation of the freeBSD operating system, but I feel it's somewhat advanced, or hard to follow.
If someone knows another book, I would be thankfull for him if he told me about it.
Regards,
Marwan
10 More Discussions You Might Find Interesting
1. Programming
I just want to know if someone can tell me if this
book "C Programming Language (2nd Edition)
by Brian W. Kernighan, Dennis M. Ritchie" is
a good book to learn C on unix/linux ???
i'm an old (33 :)) mainframe programmer who wants to learn something else besides cobol and pl/1 ...... (2 Replies)
Discussion started by: pat
2 Replies
2. Shell Programming and Scripting
Just a quick request guys
As you might have guessed I've just started getting involved in Unix
The guys and the boss in the unix team (not with them yet) have given me some projects to do at my request.
Some of which involve scripting. The work is paying for me to go on a scripting... (2 Replies)
Discussion started by: w33man
2 Replies
3. AIX
I'm an AIX newby:eek: and need to learn fast (I go on a course in a few week's time but I need to know some stuff now:mad:).
Can anybody recommend a good AIX book please? Not too basic though - I've been in software for many years (8bit/16bit/32bit, etc, Intel/Microsoft/FORTRAN/68000/anything... (9 Replies)
Discussion started by: Pennant Man
9 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I am aware of basics of UNIX like general commands for files & directories.
However now I have to move on to shell programming .
Please suggest any good book for beginners for shell programming basics & advanced which might have some practice questions also.
Thanks,
Ankur (4 Replies)
Discussion started by: ankurvohra
4 Replies
5. AIX
Hi guys,
From where can i download a good book on AIX other than redbooks from IBM website. I am also looking for the below book.
AIX 5L Administration
By Randal K. Michael (3 Replies)
Discussion started by: shabu
3 Replies
6. UNIX for Dummies Questions & Answers
I'm learning about Unix on my mac through the terminal application. I like it quite a bit. I'm finishing the chapter on Unix from my Mac OS X the missing manual, and it's whetted my appetite. Can anyone recommend a good book on beginning Unix (starting at beginner to intermediate). I'd like... (1 Reply)
Discussion started by: Straitsfan
1 Replies
7. Programming
I'd like to learn C but I wanted to ask if anyone knows of a good book to start with. I came across some folks who said the best one is 'The C programming language, second edition' but some reviews said that it's not for beginners. I am learning Java and UNIX on my Mac and am familiar with... (6 Replies)
Discussion started by: Straitsfan
6 Replies
8. UNIX for Dummies Questions & Answers
Please suggest me few good books on Unix. I have currently purchased Unix Power Tools. (2 Replies)
Discussion started by: prashdeep
2 Replies
9. Shell Programming and Scripting
I am beginning to write many korn shell scripts these days, and was wondering what book is good as far as sed goes. I know there is a book on both sed and awk from O'Reilly, but was wondering if there is a decent book on sed alone.
I have this for awk, which has been around for a while but... (7 Replies)
Discussion started by: MIA651
7 Replies
10. Shell Programming and Scripting
I am not sure if I am posting to the right forum but I would like to buy a book which goes into Awk in detail and covers the most advanced Awk programming techniques. Would anybody be able to recommend a good book? I see plenty of books available on Amazon but I am not sure how detailed they are.... (2 Replies)
Discussion started by: kieranfoley
2 Replies
LEARN ABOUT DEBIAN
html::formhandler::manual::testing
HTML::FormHandler::Manual::Testing(3pm) User Contributed Perl Documentation HTML::FormHandler::Manual::Testing(3pm)
NAME
HTML::FormHandler::Manual::Testing - testing forms
VERSION
version 0.40013
SYNOPSIS
Manual Index
One of the big advantages of FormHandler compared to many other form packages is that you can test the same form that you use in your
controller.
DESCRIPTION
It's difficult to test forms that are instantiated in controllers with 'add_element' calls and from YAML, and that have no form class. It's
one of the reasons that 'dynamic' forms generated with a field_list aren't a good idea for anything except the simplest forms. If you have
a form class that contains everything that is needed for processing the form, it's really really easy to create tests for forms. Look in
the FormHandler 't' directory. It's full of tests for forms.
You can test that the validations work, that the database is getting updated correctly, even that the HTML that's being rendered is
correct. If something isn't working correctly, it's ten times easier to debug in a test case than sitting in a controller somewhere. And
when you finally start up your application and use the form, there should be very few surprises.
FormHandler provides a simple function to test whether the HTML output is correct, 'is_html' in HTML::FormHandler::Test, which uses
HTML::TreeBuilder. If you need to build forms that use the rendering code to produce particular output, it can be helpful.
Example
Here's an example of a test, originally copied from one of the DBIC model tests. But you should download the tar.gz or checkout the
distribution from github and browse through the tests.
use Test::More;
use lib 't/lib';
use_ok( 'BookDB::Form::Book');
use_ok( 'BookDB::Schema::DB');
my $schema = BookDB::Schema::DB->connect('dbi:SQLite:t/db/book.db');
ok($schema, 'get db schema');
my $form = BookDB::Form::Book->new(schema => $schema);
# This is munging up the equivalent of param data from a form
my $good = {
'title' => 'How to Test Perl Form Processors',
'author' => 'I.M. Author',
'genres' => [2, 4],
'format' => 2,
'isbn' => '123-02345-0502-2' ,
'publisher' => 'EreWhon Publishing',
};
ok( $form->process( params => $good ), 'Good data' );
my $book = $form->item;
END { $book->delete };
ok ($book, 'get book object from form');
my $num_genres = $book->genres->count;
is( $num_genres, 2, 'multiple select list updated ok');
is( $form->field('format')->value, 2, 'get value for format' );
my $bad_1 = {
notitle => 'not req',
silly_field => 4,
};
ok( !$form->process( $bad_1 ), 'bad 1' );
my $bad_2 = {
'title' => "Another Silly Test Book",
'author' => "C. Foolish",
'year' => '1590',
'pages' => 'too few',
'format' => '22',
};
ok( !$form->process( $bad_2 ), 'bad 2');
ok( $form->field('year')->has_errors, 'year has error' );
ok( $form->field('pages')->has_errors, 'pages has error' );
ok( !$form->field('author')->has_errors, 'author has no error' );
ok( $form->field('format')->has_errors, 'format has error' );
my $good = {
title => "Another Silly Test Book",
author => "C. Foolish",
year => 1999,
pages => 101,
format => 2
};
ok( $form->process($good), 'now form validates' );
done_testing;
AUTHOR
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 HTML::FormHandler::Manual::Testing(3pm)