I wrote a simple abstraction to automatically generate form based on the
given postgresql table definition.
I work well so far :)
On 30 Dec 2014 17:45, "Petr Kobalíček" <kobalicek.p...@gmail.com> wrote:
> Hi,
>
> you are right of course, nothing is "generally" wrong, but I hope you
> received the message. When you start using component oriented architecture
> you won't need these selectors anymore as everything is handled by
> components' themselves.
>
> Qooxdoo is not declarative, that's also true, and this was my biggest
> problem to be honest. I ended up of having a framework on top of qooxdoo
> which "WAS" declarative and allowed me to write forms in a way I needed
> (basically the problem is that when you have a lot of forms you don't want
> to code them by hand as you normally do in qooxdoo). Actually, I like more
> ideas that try to build UI for you than building everything by hand, for
> example dat.gui is impressive for small things ;)
>
> Cheers,
> Petr
>
> On Mon, Dec 29, 2014 at 10:05 PM, halcwb <hal...@gmail.com> wrote:
>
>> This is my current implementation (in coffeescript, sorry):
>> ###
>> # @ignore(_)
>> ###
>> qx.Class.define 'util.Query',
>> type: 'static'
>>
>> statics:
>>
>> query: (filt) ->
>> objs = qx.core.ObjectRegistry.getRegistry()
>> _.chain(objs)
>> .pairs()
>> .filter((arr) -> filt(_.last(arr)))
>> .value()
>>
>> You can use it like:
>> util.Query.query obj -> obj.name is 'Window' and obj.getTitle() is 'Hello
>> world'
>>
>> or in regular javascript:
>> util.Query.query(function (obj) {
>> return obj.name === 'Window' && obj.getTitle() === 'Hello world';
>> });
>>
>>
>>
>> --
>> View this message in context:
>> http://qooxdoo.678.n2.nabble.com/Quickly-reference-widgets-in-browser-and-code-tp7586543p7586561.html
>> Sent from the qooxdoo mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming! The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is
>> your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel