Re: [Catalyst] Catalyst::Plugin::AutoCRUD 2.x and ExtJS 4

2011-10-11 Thread Peter Edwards
On 11 October 2011 06:56, jul@gmail.com jul@gmail.com wrote:

 2011/10/10 Oliver Gorwits oli...@cpan.org:
  Anyway do you plan to port the interface to ExtJS 4 ?
  3) the license terms of ExtJS (2.x and 4.x) are evil (GPLv3)
 Don't want to launch a flamewar.

 That's why most people switched from ExtJS to JQuery.  Even the Beeb
ditched Glow and moved to JQuery.
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Catalyst::Plugin::AutoCRUD 2.x and ExtJS 4

2011-10-11 Thread Oliver Gorwits

On 11/10/2011 06:56, jul@gmail.com wrote:

6) I'm not a UI person so it's a lot of effort for me to do

I can help.


That's appreciated :-)


ExtJS 4 doesn't seem to offer much that would improve the interface, other
than perhaps the paging-less infinite scroll grid.


Filters also can be integrated in column's headers (available also in 2.2)


In 2.2 the filter is accessed by opening the column options (where you 
also show/hide the cols). I didn't like that the filter wasn't visible 
all the time, so implemented the current AutoCRUD filters row.


I believe it's the same in 4.x from what I've seen of the demos unless I 
missed something. Oh, the editable grid is also a nice feature but I'm 
unsure whether that would just confuse the user in the current UI.



I wil try a simple test with ExtJS 4, and post it soon.


I look forward to it, many thanks!

regards,
oliver.

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


Re: [Catalyst] Catalyst::Plugin::AutoCRUD 2.x and ExtJS 4

2011-10-10 Thread jul....@gmail.com
2011/10/9 Oliver Gorwits oli...@cpan.org:
 On 07/10/2011 16:11, jul@gmail.com wrote:

 I tried to run it with the 2.x Trial (same code, same config, only
 changing the AutoCRUD modules), and I have the following error :

 Caught exception in TestUTF8::Controller::AutoCRUD::Root-err_message
 Use of uninitialized value in exists at
 /usr/local/share/perl/5.10.1/Catalyst/Plugin/AutoCRUD/Controller/Root.pm
 line 158.

 The config with the app isn't right, which is why AutoCRUD exploded. Sure,
 it shouldn't do that, so I have another thing to fix :)

 But to get the app running, comment out the Model::AutoCRUD::DBIC config key
 entirely. You already provide DB connection info within the DB.pm Model.
 This is Scenario 1. from the documentation.

 (of course if you want to customize AutoCRUD then the key needs to be there
 only without the connection/schema info)

 regards,
 oliver.

Thanks (again), now I understand why I had two entries in the
databases liste...

Anyway do you planned to port the interface to ExtJS 4 ?

-- 
Julien Gilles.

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


Re: [Catalyst] Catalyst::Plugin::AutoCRUD 2.x and ExtJS 4

2011-10-10 Thread Oliver Gorwits

On 10/10/2011 16:37, jul@gmail.com wrote:

Anyway do you plan to port the interface to ExtJS 4 ?


Maybe, but no definite plans.

Here are a few thoughts I have right now...

1) the current interface works quite well
2) but there's too much logic in the templates so they need rewriting
3) the license terms of ExtJS (2.x and 4.x) are evil (GPLv3)
4) is there another, similar, toolkit with a better license?
5) but not JQuery + 1001 plugins - I think this is messy
6) I'm not a UI person so it's a lot of effort for me to do

ExtJS 4 doesn't seem to offer much that would improve the interface, 
other than perhaps the paging-less infinite scroll grid.


As the frontend's API (the AJAX/JSON bit) isn't documented, I don't 
expect to have anyone cough up a new interface. But if any mock-ups with 
other JS toolkits are forthcoming then there's a good chance I'll try to 
graft it on if the features (filtering, etc) are equivalent.


regards,
oliver.

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


Re: [Catalyst] Catalyst::Plugin::AutoCRUD 2.x and ExtJS 4

2011-10-10 Thread jul....@gmail.com
2011/10/10 Oliver Gorwits oli...@cpan.org:
 On 10/10/2011 16:37, jul@gmail.com wrote:

 Anyway do you plan to port the interface to ExtJS 4 ?

 Maybe, but no definite plans.

 Here are a few thoughts I have right now...

 1) the current interface works quite well
I agree.

 2) but there's too much logic in the templates so they need rewriting
Code always need to be rewriting..

 3) the license terms of ExtJS (2.x and 4.x) are evil (GPLv3)
Don't want to launch a flamewar.

 4) is there another, similar, toolkit with a better license?
I don't know, but I am afraid no.

 5) but not JQuery + 1001 plugins - I think this is messy
I agree again.

 6) I'm not a UI person so it's a lot of effort for me to do
I can help.

 ExtJS 4 doesn't seem to offer much that would improve the interface, other
 than perhaps the paging-less infinite scroll grid.

Filters also can be integrated in column's headers (available also in 2.2)

Anyway ExtJS 4 offers a cleaner abstraction of models, views and
controller used inside the interface, so the mapping between the
Catalyst components and ExtJS can probably be improved.

 As the frontend's API (the AJAX/JSON bit) isn't documented, I don't expect
 to have anyone cough up a new interface. But if any mock-ups with other JS
 toolkits are forthcoming then there's a good chance I'll try to graft it on
 if the features (filtering, etc) are equivalent.

I wil try a simple test with ExtJS 4, and post it soo.

regards,

-- 
Julien Gilles.

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