/[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 341 - (view) (annotate) - [select for diffs]
Modified Sun Nov 9 09:58:13 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4189 byte(s)
Diff to previous 314
 r415@eeepy:  dpavlin | 2008-11-09 10:58:33 +0100
 move Frey::Server port to config


Revision 314 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 20:18:33 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4128 byte(s)
Diff to previous 292
rename execute to runnable which makes much more sense

Revision 292 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:21:03 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4127 byte(s)
Diff to previous 280
 r3134@llin (orig r258):  dpavlin | 2008-11-04 21:26:59 +0100
 make Frey::Introspect default action if there is no
 method specified in url, resulting in major reduction of
 html everywhere which is nice


Revision 280 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:20:53 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3849 byte(s)
Diff to previous 277
 r3122@llin (orig r246):  dpavlin | 2008-11-04 17:41:48 +0100
 Frey::Introspection is not special any more, but we need to
 translate - to :: for better URI compatibility


Revision 277 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:20:50 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3942 byte(s)
Diff to previous 223
 r3097@llin (orig r243):  dpavlin | 2008-11-02 22:24:04 +0100
 a swipe of refactoring to run under Mojo and Continuity with same REST API
 
 - all objects are now invoked using URL path as object name and param
   (which doesn't work with Mojo as of this commit)
 - Frey::Run is now usable Moose object for both servers
 - move handling of Continuity bits into Frey::Server only


Revision 223 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 00:14:05 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 3669 byte(s)
Diff to previous 220
refactor callback types into Frey::Run [0.17]

Revision 220 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 23:07:46 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 3580 byte(s)
Diff to previous 216
hush request dump output

Revision 216 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 22:39:48 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 3585 byte(s)
Diff to previous 213
fix server testing and simplify code

Revision 213 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 19:51:51 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 3561 byte(s)
Diff to previous 205
rest of rename from html -> request

Revision 205 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 22:34:40 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 3555 byte(s)
Diff to previous 190
triggers Continuity bug #40544 with patch at
http://rt.cpan.org/Ticket/Display.html?id=40544

Revision 190 - (view) (annotate) - [select for diffs]
Modified Sun Sep 14 00:45:47 2008 UTC (15 years, 6 months ago) by dpavlin
File length: 3529 byte(s)
Diff to previous 184
remove Carp::REPL because it really screws with error reporting.

Revision 184 - (view) (annotate) - [select for diffs]
Modified Tue Sep 9 23:15:46 2008 UTC (15 years, 6 months ago) by dpavlin
File length: 3544 byte(s)
Diff to previous 182
added html call to class browser

Revision 182 - (view) (annotate) - [select for diffs]
Modified Sun Sep 7 19:44:08 2008 UTC (15 years, 6 months ago) by dpavlin
File length: 3537 byte(s)
Diff to previous 180
added some pod and cleanup

Revision 180 - (view) (annotate) - [select for diffs]
Modified Sun Aug 31 18:02:50 2008 UTC (15 years, 7 months ago) by dpavlin
File length: 3481 byte(s)
Diff to previous 179
- extracted running of class into Frey::Run which now create real page
- version bump [0.15]

Revision 179 - (view) (annotate) - [select for diffs]
Modified Sun Aug 31 17:44:03 2008 UTC (15 years, 7 months ago) by dpavlin
File length: 4155 byte(s)
Diff to previous 162
- factor out run_markup which will display output of markup
  or form for required fields
- remove /pod/ dispatcher which was unused (and now works as
  /markup/Frey::Pod?class=Frey anyway)

Revision 162 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 21:07:16 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3639 byte(s)
Diff to previous 158
added few more static types and support any argument after it
to defeat cacheing

Revision 158 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 18:00:55 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 3617 byte(s)
Diff to previous 142
generate "static" html pages from methods with markup call [0.14]

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
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
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
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
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
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
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
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
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
- 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
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
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
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
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
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
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
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
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
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
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
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
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
 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
 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) - [select for diffs]
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
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
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
- 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
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
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
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
- 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
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
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
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
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)
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