Re: [Catalyst] improving usability / doc

2007-08-17 Thread Adam Bartosik

  How many people decided to take different framework just because
  catalyst doc still sucks?
Sucks is somewhat hurtful to the many contributers, but whatever, I
see what you mean.


Thanks - it is just what I think when I see flexibility of Catalyst 
compared eg. to Rails (=lots of doc  hype but sometimes it lacks quite 
simple functionality). In other words - Catalyst is much more better 
than first feelings when you look at doc pages.



Here's the mockup that I'm working on:
http://staff.toeat.com/~jshirley/Catalyst/NewSite/


It is like newer freebsd.org, some changes and it can be such 
centralized start point of Catalyst world :)



I agree with Jonathan, lets JFDI.


I see the point - I don't want to complain but just make things better. 
I will send you my remarks and work on new site, probably the first is 
POD converter to make doc pages better.


--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m et e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] improving usability / doc

2007-08-16 Thread Adam Bartosik
I wonder how much better Catalyst doc would looks if the top doc page, 
http://search.cpan.org/dist/Catalyst-Manual/ (linked from top catalyst page)

had tutos in 1..9 order, not alphabetical?

Is such change in naming eg:
Catalyst::Manual::Tutorial::1_Intro
Catalyst::Manual::Tutorial::2_CatalystBasics
possible?

There is also an open ticket for - maybe - this kind of work
http://dev.catalyst.perl.org/ticket/82

I just think how can I help in this process of improving documentation 
for my favorite framework. I am a perl programmer with strong experience 
of initiating new sites, promoting, advertising - nothing special but 
could be helpful to improve cata site.


Take a look at doc pages of rails:
http://rubyonrails.org/docs
django:
http://www.djangoproject.com/documentation/
or even not so popular mvc like Pylons
http://wiki.pylonshq.com/display/pylonsdocs/Home

How many people decided to take different framework just because 
catalyst doc still sucks?


--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m et e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] IDE for use with Catalyst

2007-07-02 Thread Adam Bartosik

application with catalyst.  Does anyone have an IDE that they can
recommend?  I have been developing perl apps for a while now but have
been using vi :). If anyone has any suggestions I wold love to hear
them.


kdevelop or even native-editor from krusader (KDE apps)
past: (x)emacs, but kdevelop have better code folding, class overview, 
ssh/ftp.

Some day eclipse+dltk/epic will be also cool...

--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m et e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] DateTime in session- breaks during login/logout

2007-06-14 Thread Adam Bartosik

If you don't have DateTime::Locale version 0.34, please try that.
There was a bug in the Storable freeze/thaw handling.


Great, works, thanks! :)

/looks like i need to do some cpanplus upgrades on linuxes - deployment 
on freebsd machines is easier, you have more cpan packages in ports and 
they are more up to date/


--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m et e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] ActiveRecord for Perl

2007-05-22 Thread Adam Bartosik

I'm considering trying to port Ruby's ActiveRecord to Perl
as a lightweight ORM option (with some small changes
maybe, like composite PKs). If anyone's interested, toss
me a message privately and we'll coordinate.


What I found missing in DBIx::Class is AR method find_by_sql(sql).
We use catalystdbix for months (kind of data-warehouse project), but 
rewriting complex, read-only SQL statements to dbix/perl notation is for 
me a waste of time (when editing  updating tables with ORM is so fast 
to code and intuitive).


However is it worth to build just-another-orm for perl when DBIx::Class 
is not so far to be really good one?



--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m et e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] ActiveRecord for Perl

2007-05-22 Thread Adam Bartosik

I'm currently trying to decide on Catalyst or Rails for a new project.
I like the flexibility of Catalyst (and love Perl), but I'm attracted to
a lot of the design decisions in Rails (I like the fact, for example,
that ActiveRecord::Validations supports data validation in the model,
just like we were discussing in a previous thread).


Months ago I gave a try for ROR. What is good compared to Catalyst?

- documentation. It is easy to start, good doc, there are many books, 
tutos about it. Catalyst doc is... nothing interesting, sometimes 
inconsistent, sometimes broken links. Even less popular frameworks in 
Python like Pylons have better doc, are easier to start with. Because of 
flexibility, Catalyst could be very difficult at start (many chooses)


- various web-related libs are better, up to date in Ror, eg. prototype

My problems with ROR:
- composite keys not out of the box
- quoting names (I didn't find any workaround, maybe 2h of googling and 
trying to fix it is too less?)

- much fighting to use for existing DB

Sometimes you need to use something from CPAN and gems are not so 
solution-full.


I think when you start a new agile project, ROR can be very helpful - 
especially when you need some rules (for project team), some design 
constraints, it is simple - do it our way. There is no such religious 
approach with Catalyst, you can do what you want typically the way you want.



--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m et e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] ActiveRecord for Perl

2007-05-22 Thread Adam Bartosik

What would that achieve that passing literal SQL chunks for SELECT, FROM,
WHERE etc. wouldn't?


Readability. Complex SQL statements are more clear to understand than 
complex dbix statements when you are not an author of DBIX ;)
I can also test it with simple copypaste to sql console to see how it 
works, how it is planned / optimized.


I know it is ORM and database abstraction, I'm theoretically independent 
from my DB vendor and so on, but it doesn't change the fact it is more 
complicated, more noise, more strange -opt { qw[col1 col2] } than 
pure SQL statement.


And when all this Catalyst/Dbix stuff is so flexible - why I should 
fight with such approach?


--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m et e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] ActiveRecord for Perl

2007-05-22 Thread Adam Bartosik

So here's the one big remaining question - why haven't you worked out what
syntax you'd like to see for this feature and started a thread on the
dbix-class list to discuss it? :)


Good point. To be honest - I need to dig deeply into dbix structure to 
propose something in the dbix way.
The main feature I would like to get from dbix as a wrapper for SQL 
statement is pagination.

Ok, see you on dbix list ;)

--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m et e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/