/[Frey]/trunk/lib/Frey/Server.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /trunk/lib/Frey/Server.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 142 - (view) (annotate) - [select for diffs]
Modified Wed Jul 16 14:14:18 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3374 byte(s)
Diff to previous 127 , to selected 36
skeleton of reload functionality, non-working for now

Revision 127 - (view) (annotate) - [select for diffs]
Modified Mon Jul 14 23:16:21 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3339 byte(s)
Diff to previous 121 , to selected 36
display pod through URL

Revision 121 - (view) (annotate) - [select for diffs]
Modified Mon Jul 14 21:22:43 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3255 byte(s)
Diff to previous 120 , to selected 36
central page creation [0.11]

- make (optional) development feature in Makefile.PL
- split page generation in Frey::Web->page
- cleanup of html generation code all over
- jump to Carp::REPL on errors (nice, but needs to be in browser)

This is a move to more embedded html. While it does seem evil, we are aming
here at lean framework, so readability is prefered...

Revision 120 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 19:46:10 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3295 byte(s)
Diff to previous 119 , to selected 36
cleanup introspection interface

Revision 119 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 18:51:29 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3189 byte(s)
Diff to previous 118 , to selected 36
split ClassBrowser into it's own package (class)

Revision 118 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 18:14:07 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3722 byte(s)
Diff to previous 117 , to selected 36
show roles as such and don't try to design them

Revision 117 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 18:04:45 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3634 byte(s)
Diff to previous 115 , to selected 36
we can really only browse classes which have collection_table exposed

Revision 115 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 18:01:19 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3628 byte(s)
Diff to previous 114 , to selected 36
remove debug output

Revision 114 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 17:41:13 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3650 byte(s)
Diff to previous 106 , to selected 36
- better table output of available Classes (default page)
- require Module::Reload which Continuity will pick up and reload modules for us
- dispatch to ObjectDesigner

Revision 106 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 12:22:14 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3379 byte(s)
Diff to previous 103 , to selected 36
added Frey::Collection role to database models

Revision 103 - (view) (annotate) - [select for diffs]
Modified Fri Jul 11 23:08:25 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3369 byte(s)
Diff to previous 101 , to selected 36
minimal server testing

Ability to run server on different port by specifiny port on command line of
using FREY_PORT enviroment variable

Revision 101 - (view) (annotate) - [select for diffs]
Modified Fri Jul 11 22:54:42 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3333 byte(s)
Diff to previous 100 , to selected 36
another refactor to support multiple databases [0.09]

- Frey::ClassLoader has now saner API (I hope) and ability to load all classes
- Frey::ObjectBrowser needs also fey_class now
- only packages with rows method will now be browsable

Revision 100 - (view) (annotate) - [select for diffs]
Modified Fri Jul 11 19:19:42 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3260 byte(s)
Diff to previous 67 , to selected 36
another refactoring

- cleanup cruft code
- create Frey::ClassLoader to deal with package/class stuff
- Frey::Web role with dom2html to based on Continuity::Widget::DomNode

Revision 67 - (view) (annotate) - [select for diffs]
Modified Wed Jul 9 13:11:26 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3299 byte(s)
Diff to previous 66 , to selected 36
handle errors better

Revision 66 - (view) (annotate) - [select for diffs]
Modified Wed Jul 9 12:08:07 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3284 byte(s)
Diff to previous 64 , to selected 36
moved error catching into Frey::Server

Revision 64 - (view) (annotate) - [select for diffs]
Modified Tue Jul 8 16:18:13 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3068 byte(s)
Diff to previous 60 , to selected 36
server now binds to port when we call run, so
we can run tests with acrive server

Revision 60 - (view) (annotate) - [select for diffs]
Modified Tue Jul 8 12:20:08 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3022 byte(s)
Diff to previous 56 , to selected 36
skeleton of server-side object browser

Revision 56 - (view) (annotate) - [select for diffs]
Modified Sun Jul 6 11:59:58 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 2891 byte(s)
Diff to previous 55 , to selected 36
more work on server-size class browser

- correct loading of modules
- display required attributes

Revision 55 - (view) (annotate) - [select for diffs]
Modified Sat Jul 5 19:00:10 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 2632 byte(s)
Diff to previous 53 , to selected 36
remove all usage of Template::Declare [0.05]

- die gracefully if class can't be loaded

Revision 53 - (view) (annotate) - [select for diffs]
Modified Sat Jul 5 15:19:55 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3761 byte(s)
Diff to previous 48 , to selected 36
huge wapping changes all over the place [0.05]

- begin move to Continuity::Widget instread of Template::Declare
- Frey::Introspection can now mock joose object with accessors

Revision 48 - (view) (annotate) - [select for diffs]
Modified Wed Jul 2 12:36:59 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3504 byte(s)
Diff to previous 42 , to selected 36
support .htm? as static file format

Revision 42 - (view) (annotate) - [select for diffs]
Modified Mon Jun 30 20:02:16 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3427 byte(s)
Diff to previous 38 , to selected 36
 r44@eeepy:  dpavlin | 2008-06-30 18:08:33 +0200
 Change logic of generating html page using Frey::HTML->page
 because Template::Declare around_template is doing it around
 *all* templates (including those used with show).


Revision 38 - (view) (annotate) - [select for diffs]
Modified Mon Jun 30 20:02:08 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3427 byte(s)
Diff to previous 37 , to selected 36
 r40@eeepy:  dpavlin | 2008-06-30 13:37:18 +0200
 Move item browser into Strix::View
 
 We still have problem with Template::Declare executing multiple times


Revision 37 - (view) (annotate) - [select for diffs]
Modified Mon Jun 30 20:02:06 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4316 byte(s)
Diff to previous 36
 r39@eeepy:  dpavlin | 2008-06-30 09:37:10 +0200
 example of callback links


Revision 36 - (view) (annotate) - [selected]
Modified Mon Jun 30 07:13:35 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3789 byte(s)
Diff to previous 34
don't require or use Continuity::REPL

Revision 34 - (view) (annotate) - [select for diffs]
Modified Mon Jun 30 07:06:11 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3788 byte(s)
Diff to previous 30 , to selected 36
callback example (non-working)

Revision 30 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 20:48:35 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3454 byte(s)
Diff to previous 28 , to selected 36
cleanup

Revision 28 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 20:13:46 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3432 byte(s)
Diff to previous 26 , to selected 36
- show all available package methods if no method is specified
- better error output (dump caller if called without args)

Revision 26 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 18:08:50 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3358 byte(s)
Diff to previous 25 , to selected 36
another refacture and version bump [0.02]
- added support for error pages
- added list of classes

Revision 25 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 17:27:45 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3360 byte(s)
Diff to previous 23 , to selected 36
Frey::Server->run will run sever so we can test it

Revision 23 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 16:24:41 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3337 byte(s)
Diff to previous 19 , to selected 36
another major refactor and version bump [0.01]

- return 404 errors for resources which doesn't exist
- move HTML page wrapper is now in Fray::HTML->page
- dispatch to defined Template::Declare templates
- display available templates on status screen
- NOTE very clean and unobfuscated mapping
- a bits of documentation all over the place

Revision 19 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 12:55:39 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 2656 byte(s)
Copied from: trunk/server.pl revision 13
Diff to previous 13 , to selected 36
- create slim server caller in bin for Frey::Server
- restructure view packages
- beginning of rest dispatcher based on Template::Declare

Revision 13 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 00:17:56 2008 UTC (15 years, 9 months ago) by dpavlin
Original Path: trunk/server.pl
File length: 3625 byte(s)
Diff to previous 11 , to selected 36
Added Module::Refresh to reload changed modules

Revision 11 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 22:30:06 2008 UTC (15 years, 9 months ago) by dpavlin
Original Path: trunk/server.pl
File length: 3597 byte(s)
Diff to previous 10 , to selected 36
return 500 Internal Server Error (RFC 2616) for records which doesn't exist

Revision 10 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 22:13:05 2008 UTC (15 years, 9 months ago) by dpavlin
Original Path: trunk/server.pl
File length: 3546 byte(s)
Diff to previous 9 , to selected 36
cpeanup and spit html generation into own package

- time template generation
- wrap pages in html/head/body
- cleanup server and move logic there

Revision 9 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 18:49:47 2008 UTC (15 years, 9 months ago) by dpavlin
Original Path: trunk/server.pl
File length: 3983 byte(s)
Diff to previous 2 , to selected 36
print template, first time server produced output! Yeee...

Revision 2 - (view) (annotate) - [select for diffs]
Added Sat Jun 28 11:49:35 2008 UTC (15 years, 9 months ago) by dpavlin
Original Path: trunk/server.pl
File length: 3981 byte(s)
Diff to selected 36
initial code dump of my web-framework-tingy:

Continuity + Fey::ORM + Template::Declare

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26