Want to try Catalyst

Catalyst is open-source perl based elegent MVC framework(http://dev.catalystframework.org/wiki/). Check out http://www.perl.com/lpt/a/930 to know more about Catalyst.

Lets see the steps to install catalyst in a easy way.


Download svndump.gz from http://handelframework.com/downloads/
Extract/unzip the items from svndump.gz



For windows:

open a command prompt
-------------------------
  • Goto -> Run->cmd


Change directory to CatInABox/bin
------------------------------------


> cd CatInABox/bin folder
Run catalyst.bat
----------------
Run catalyst.bat along with your Application name. Say my application name is 'Testapp', i would run


> catalyst.bat Testapp
















Now you are done with creating your application. To start the server, change directory to your Testapp/script and start the server.


cd Testapp/script

perl testapp_server.pl
Now your application is up and running. To view it. Goto browser and check
http://localhost:3000 . you should be able to view the application.
For unix flavors:
Repeat the same procedure for unix boxes. Instead of catalyst.bat use catalyst.pl


catalyst.pl Testapp
Which will create the same structure as in windows.



To create a TT view, run:
$ script/testapp_create.pl view TT TT
This creates the lib/Testapp/View/TT.pm module, which is a subclass of Catalyst::View::TT.



To create a new Controller, run:(say i am creating controller User)
$ perl script/testapp_create.pl controller User
This will create "/lib/TestApp/Controller/User.pm" and "/t/controller_user.t"dot(.) t files are used for testing.
To create a database Model
Before creating model, read: http://www.perlmonks.org/?node_id=700283
You need a database, it is recommened to use SQLite, if your application is small. Since its a "embedded" database. so the database exists as a single file and requires no server to run.
$ $ perl script/testapp_create.pl model TestDb DBIC::Schema \ Testapp::Schema::TestDb create=dynamic \ dbi:SQLite:/tmp/database






Scour - The social search engine

'Earn

Scour is a new search engine working to evolve search and deliver a much greater value to the User.

Search

While Google, Yahoo, and MSN are incredible search engines, Scour brings all of their greatness together! With Scour, all three engines are searched all at once for you, with the results returned quickly on one page. Every Scour member is able to vote each listing up or down based on its relevance to their keyword as well as comment on their experiences with the site. By blending user feedback with proven search algorithms the Scour community helps shapes the Scour brand of results.

Contribute

Ever spend time searching only to find that the results you need are buried under irrelevant ones? With the Scour voting and comment system, our goal is to introduce the human element of searching allowing you and all other Scour members to speak up and help shape the results with every search. See a result that doesn't match your search? Vote it down? See a site that is exactly what you wanted? Vote it up and tell us all why you liked it. After enough votes, the listings will move down in rank, placing the relevant ones where they should be, at the top! When using Scour you can read user reviews about websites based on your keyword taking a lot of the guesswork out of searching and getting to you destination quicker.

Reward

The top search engines make billions of dollars a year in advertising revenue, wouldn't it be cool if the users got a piece of that too? Enter Scour Points! Every member is awarded one point for every search, two for a vote and three for a comment with a maximum of 4 points a search. Once you aggregate at least 6,500 points you can cash them out for a $25 Visa gift card... it's more than you currently make from searching, right? On top of that, we offer referral points for the friends you introduce to Scour where you can earn 25% of the points they make. So if you invited 25 friends that used scour regularly in addition to yourself, that's an easy $125 in your pocket for a year of what you already do! Check out how much you could earn with the Scour Points Calculator. This isn't a pyramid scheme and we're not trying to get you rich quick, we just think it's a good idea to share our success with those who help make it possible.

Play a part in the Scour community and get rewarded for what you already do!

join here:'Earn

Vi problem

Getting Problem with Vi Terminal too wide :What? Solution: check you stty settings and set stty columns 120 This should solve your problem