[jQuery] Re: libraries

2008-12-18 Thread Olivier Percebois-Garve
1.you just dont need to put ids in li element. All what you want to do is
doable only with on id on the root ul.
Do do that , you should use relative selectors such as:

$tree = $('#mytree');
$('li', $tree).doSomething();

2.ok

3.yes it is the correct design.

4.licence. if you want to attract peoples, you may consider adding also a
less restrictive licence, sucha s MIT.


Olivier



On Wed, Dec 17, 2008 at 6:59 PM, Dirceu Barquette 
dirceu.barque...@gmail.com wrote:


 - think your plugin is tied to specific ids on each node. This should not
 be necessary.
 I didn't understand this sentence...

 - the plugin is calling directly image to decorate the tree, I think it
 should be done via options.
 You are right. It will be done for the next version!

 (google : jquery plugin pattern)
 I did it already in 0.1 version (thanks to Mike Alsup - nice tutorial)

 - you've a method new_node and then one named insert_node. confusing.
 new_node intend to be private method, and insert_node is the public
 method that uses new_node method. If its wrong try to explain me correct
 implementation, please!

 other than that, nice, very nice, for somebody that is just learning
 english.
 My brother is an excellent English writer and translator...

  you've ambitious scripts.
 thank you very much I want to share these projects with developers. Do
 you want colaborate? All of them is GPL!!!

 correct URL. forgive me.
 http://calango.barquettenet.net/~dirceu/isabela/jquery.isabela_drawhttp://calango.barquettenet.net/%7Edirceu/isabela/jquery.isabela_draw



 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 quick comments:

 - think your plugin is tied to specific ids on each node. This should not
 be necessary.
 - the plugin is calling directly image to decorate the tree, I think it
 should be done via options.  (google : jquery plugin pattern)
  actually the best is to use css clases for the different states and
 decorate them using css.
 - you've a method new_node and then one named insert_node. confusing.

 other than that, nice, very nice, for somebody that is just learning
 english. you've ambitious scripts.






 On Wed, Dec 17, 2008 at 5:49 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:


 I think the thread just ended. :D

 If you have some time, download and comment my plugins:
 http://jqtreevial.sourceforge.net

 And:
 http;//isabeladraw.sourceforge.net (official versioning)
 http://calango.barquettenet.net/~dirceu/isabela/jquery.isabela_drawhttp://calango.barquettenet.net/%7Edirceu/isabela/jquery.isabela_draw(nightly
  version)


 Thank you very much!


 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Don't worry with your english, I'm not a native.

 So you want to know how to make json request ?

 Do you still have a question, or do you want just to discuss stuffs ?




 On Wed, Dec 17, 2008 at 5:21 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 The initial question was just about libraries.
 The thread now pointing to CMS. This is my goal! Write in English about
 this is so much difficult to me.
 I have been doing many apps (my job...) using jquery.
 I follow this group just to learn more with others developers. When I
 have some dummy doubt about jQuery I just googlit and voila!! jQuery is 
 a
 fatastic tool!! But I want much more and it is truely possible using 
 jQuery
 thoughts.

 This is just a dream, but reachable: View components builded with
 jQuery that can request data from server (controller). Controller can be
 builded using any language you wish, but the answer just is a JSON! jQuery
 read easy this answer and put data in the component previously created. 
 You
 know?

 Thanks again for your interest!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com


 using a MVC framework such as cakephp or zend framework, you can put
 the html in a view, and on top of that view insert the js. If you use the
 head helper, you can make it be inserted between in the head/head.
 same for css.
 The I advice you to put your javascript code into seperate files, one
 for each plugins.

 This way, every time a view is requested, the relevant js will be
 called, and with HTML + js + css, you've your widget.

 Is that answering your question ?



 On Wed, Dec 17, 2008 at 4:38 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Forgive me the wrong words and semanthics. My mind is a tool for
 automatic translation...

 You are right about new thread. But in other words I want build the
 view part only. To do this I need some IDE. See this IDE like a GUI
 builder (with components ready to use).

 Second:
 If an user wants a list, he doesn't need write:
 $('li/')
.attr({id:'li-1'})
.css({list-style-image:'url(./imgs/blah.png)'})
.addClass('generalList')
.text('blah')
.appendTo('#ul-id');

 End users just wants: click on the element and choice what he
 wants.

 Put these two topics together and you have an application that build
 

[jQuery] Re: libraries

2008-12-17 Thread Kean

jQuery's API is intuitive by nature, you should learn by heart.

On Dec 16, 5:41 pm, Ricardo Tomasi ricardob...@gmail.com wrote:
 Ah now I see what you mean.

 You can download the extensions for Dreamweaver or IntelliSense 
 athttp://xtnd.us/dreamweaver/jqueryhttp://www.mustafaozcan.net/en/post/2008/06/15/JQuery-1-2-6-Intellise...

 But I think it's more productive to rewrite it from scratch in your
 own format. The Intellisense code is embedded in the comments of the
 script itself, you'd have to create a parser for that.

 On Dec 16, 8:09 pm, Dirceu Barquette dirceu.barque...@gmail.com
 wrote:

  OK. CSV isn't required...
  All the IDE has {css,tagHtml}attrs or jQuery{attr,methods} auto-complete
  cappable . If I have these lists, auto-completing is easy... isn't it?
  Thanks
  Dirceu Barquette

  2008/12/16 Ricardo Tomasi ricardob...@gmail.com

   Hmm.. what do you mean? all of these are plain text, I guess you meant
   something other than 'file format' (and csv has nothing to do with CSS
   by the way, more than the rest is unrelated!) :]

   On Dec 16, 5:22 pm, Dirceu Barquette dirceu.barque...@gmail.com
   wrote:
Hi,

I'd like to know, please:
There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
The goal is an IDE...

Thanks.

Dirceu Barquette


[jQuery] Re: libraries

2008-12-17 Thread Olivier Percebois-Garve
Don't worry with your english, I'm not a native.

So you want to know how to make json request ?

Do you still have a question, or do you want just to discuss stuffs ?



On Wed, Dec 17, 2008 at 5:21 PM, Dirceu Barquette 
dirceu.barque...@gmail.com wrote:

 The initial question was just about libraries.
 The thread now pointing to CMS. This is my goal! Write in English about
 this is so much difficult to me.
 I have been doing many apps (my job...) using jquery.
 I follow this group just to learn more with others developers. When I have
 some dummy doubt about jQuery I just googlit and voila!! jQuery is a
 fatastic tool!! But I want much more and it is truely possible using jQuery
 thoughts.

 This is just a dream, but reachable: View components builded with jQuery
 that can request data from server (controller). Controller can be builded
 using any language you wish, but the answer just is a JSON! jQuery read easy
 this answer and put data in the component previously created. You know?

 Thanks again for your interest!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com


 using a MVC framework such as cakephp or zend framework, you can put the
 html in a view, and on top of that view insert the js. If you use the head
 helper, you can make it be inserted between in the head/head. same for
 css.
 The I advice you to put your javascript code into seperate files, one for
 each plugins.

 This way, every time a view is requested, the relevant js will be called,
 and with HTML + js + css, you've your widget.

 Is that answering your question ?



 On Wed, Dec 17, 2008 at 4:38 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Forgive me the wrong words and semanthics. My mind is a tool for
 automatic translation...

 You are right about new thread. But in other words I want build the
 view part only. To do this I need some IDE. See this IDE like a GUI
 builder (with components ready to use).

 Second:
 If an user wants a list, he doesn't need write:
 $('li/')
.attr({id:'li-1'})
.css({list-style-image:'url(./imgs/blah.png)'})
.addClass('generalList')
.text('blah')
.appendTo('#ul-id');

 End users just wants: click on the element and choice what he wants.

 Put these two topics together and you have an application that build
 applications. Or a CMS!!!

 Thanks a lot!!!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Dirceu

 is this a different question ? in that case you should start a new
 thread with a different title
 also if you are using a tool for automatic translation, just mention it.

 I'm trying to understand what is your question.

 You are trying to create a client-side widget in a MVC framework, and
 you dont know how to structurate it ?


 Olivier


 On Wed, Dec 17, 2008 at 2:42 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Ok!
 Thanks to all!. But the right stuff I want is everything like this:
 http://tof2k.com/ext/formbuilder

 I want to build components for the view layer. People (me included)
 has been building widgets and plugins for topics apps. Most of them mixes
 among styles and logic to build it and force you develop controller at the
 same time.
 When I develop an application, first I used to put any components
 without styles at the view layer. These components doesn't need to know 
 how
 the logic works to. It must exists without know weather model or
 controller exists and has own logic. View is a complete application by
 itself. Styles comes latter... Web designers doesn't need to know how 
 jQuery
 works. They need stylesheet only.
 The above link shows that it is possible (but still mixing style with
 logic). Components needs  constructor method to build itself. Others 
 methods
 and attrs comes latter.

 Again, sorry my english... I hope you understand the semanthic of my
 words.

 Thanks,

 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Aptana does a good job for auto completion.

 I you weant to learn the api for yourself, I think that
 visualjquery.com is excellent, I almost always have it open whilst
 developing.



 On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette










[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
I think the thread just ended. :D

If you have some time, download and comment my plugins:
http://jqtreevial.sourceforge.net

And:
http;//isabeladraw.sourceforge.net (official versioning)
http://calango.barquettenet.net/~dirceu/isabela_draw/jquery.isabela_draw(nightly
version)

Thank you very much!

2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Don't worry with your english, I'm not a native.

 So you want to know how to make json request ?

 Do you still have a question, or do you want just to discuss stuffs ?




 On Wed, Dec 17, 2008 at 5:21 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 The initial question was just about libraries.
 The thread now pointing to CMS. This is my goal! Write in English about
 this is so much difficult to me.
 I have been doing many apps (my job...) using jquery.
 I follow this group just to learn more with others developers. When I have
 some dummy doubt about jQuery I just googlit and voila!! jQuery is a
 fatastic tool!! But I want much more and it is truely possible using jQuery
 thoughts.

 This is just a dream, but reachable: View components builded with jQuery
 that can request data from server (controller). Controller can be builded
 using any language you wish, but the answer just is a JSON! jQuery read easy
 this answer and put data in the component previously created. You know?

 Thanks again for your interest!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com


 using a MVC framework such as cakephp or zend framework, you can put the
 html in a view, and on top of that view insert the js. If you use the head
 helper, you can make it be inserted between in the head/head. same for
 css.
 The I advice you to put your javascript code into seperate files, one for
 each plugins.

 This way, every time a view is requested, the relevant js will be called,
 and with HTML + js + css, you've your widget.

 Is that answering your question ?



 On Wed, Dec 17, 2008 at 4:38 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Forgive me the wrong words and semanthics. My mind is a tool for
 automatic translation...

 You are right about new thread. But in other words I want build the
 view part only. To do this I need some IDE. See this IDE like a GUI
 builder (with components ready to use).

 Second:
 If an user wants a list, he doesn't need write:
 $('li/')
.attr({id:'li-1'})
.css({list-style-image:'url(./imgs/blah.png)'})
.addClass('generalList')
.text('blah')
.appendTo('#ul-id');

 End users just wants: click on the element and choice what he wants.

 Put these two topics together and you have an application that build
 applications. Or a CMS!!!

 Thanks a lot!!!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Dirceu

 is this a different question ? in that case you should start a new
 thread with a different title
 also if you are using a tool for automatic translation, just mention
 it.

 I'm trying to understand what is your question.

 You are trying to create a client-side widget in a MVC framework, and
 you dont know how to structurate it ?


 Olivier


 On Wed, Dec 17, 2008 at 2:42 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Ok!
 Thanks to all!. But the right stuff I want is everything like this:
 http://tof2k.com/ext/formbuilder

 I want to build components for the view layer. People (me included)
 has been building widgets and plugins for topics apps. Most of them mixes
 among styles and logic to build it and force you develop controller at 
 the
 same time.
 When I develop an application, first I used to put any components
 without styles at the view layer. These components doesn't need to know 
 how
 the logic works to. It must exists without know weather model or
 controller exists and has own logic. View is a complete application by
 itself. Styles comes latter... Web designers doesn't need to know how 
 jQuery
 works. They need stylesheet only.
 The above link shows that it is possible (but still mixing style with
 logic). Components needs  constructor method to build itself. Others 
 methods
 and attrs comes latter.

 Again, sorry my english... I hope you understand the semanthic of my
 words.

 Thanks,

 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Aptana does a good job for auto completion.

 I you weant to learn the api for yourself, I think that
 visualjquery.com is excellent, I almost always have it open whilst
 developing.



 On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette











[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
OH!!
I've forgotten the magic word: please :-)

2008/12/17 Dirceu Barquette dirceu.barque...@gmail.com


 I think the thread just ended. :D

 If you have some time, download and comment my plugins:
 http://jqtreevial.sourceforge.net

 And:
 http;//isabeladraw.sourceforge.net (official versioning)
 http://calango.barquettenet.net/~dirceu/isabela_draw/jquery.isabela_drawhttp://calango.barquettenet.net/%7Edirceu/isabela_draw/jquery.isabela_draw(nightly
  version)

 Thank you very much!


 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Don't worry with your english, I'm not a native.

 So you want to know how to make json request ?

 Do you still have a question, or do you want just to discuss stuffs ?




 On Wed, Dec 17, 2008 at 5:21 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 The initial question was just about libraries.
 The thread now pointing to CMS. This is my goal! Write in English about
 this is so much difficult to me.
 I have been doing many apps (my job...) using jquery.
 I follow this group just to learn more with others developers. When I
 have some dummy doubt about jQuery I just googlit and voila!! jQuery is a
 fatastic tool!! But I want much more and it is truely possible using jQuery
 thoughts.

 This is just a dream, but reachable: View components builded with jQuery
 that can request data from server (controller). Controller can be builded
 using any language you wish, but the answer just is a JSON! jQuery read easy
 this answer and put data in the component previously created. You know?

 Thanks again for your interest!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com


 using a MVC framework such as cakephp or zend framework, you can put the
 html in a view, and on top of that view insert the js. If you use the 
 head
 helper, you can make it be inserted between in the head/head. same for
 css.
 The I advice you to put your javascript code into seperate files, one
 for each plugins.

 This way, every time a view is requested, the relevant js will be
 called, and with HTML + js + css, you've your widget.

 Is that answering your question ?



 On Wed, Dec 17, 2008 at 4:38 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Forgive me the wrong words and semanthics. My mind is a tool for
 automatic translation...

 You are right about new thread. But in other words I want build the
 view part only. To do this I need some IDE. See this IDE like a GUI
 builder (with components ready to use).

 Second:
 If an user wants a list, he doesn't need write:
 $('li/')
.attr({id:'li-1'})
.css({list-style-image:'url(./imgs/blah.png)'})
.addClass('generalList')
.text('blah')
.appendTo('#ul-id');

 End users just wants: click on the element and choice what he wants.

 Put these two topics together and you have an application that build
 applications. Or a CMS!!!

 Thanks a lot!!!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Dirceu

 is this a different question ? in that case you should start a new
 thread with a different title
 also if you are using a tool for automatic translation, just mention
 it.

 I'm trying to understand what is your question.

 You are trying to create a client-side widget in a MVC framework, and
 you dont know how to structurate it ?


 Olivier


 On Wed, Dec 17, 2008 at 2:42 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Ok!
 Thanks to all!. But the right stuff I want is everything like this:
 http://tof2k.com/ext/formbuilder

 I want to build components for the view layer. People (me included)
 has been building widgets and plugins for topics apps. Most of them 
 mixes
 among styles and logic to build it and force you develop controller at 
 the
 same time.
 When I develop an application, first I used to put any components
 without styles at the view layer. These components doesn't need to know 
 how
 the logic works to. It must exists without know weather model or
 controller exists and has own logic. View is a complete application by
 itself. Styles comes latter... Web designers doesn't need to know how 
 jQuery
 works. They need stylesheet only.
 The above link shows that it is possible (but still mixing style with
 logic). Components needs  constructor method to build itself. Others 
 methods
 and attrs comes latter.

 Again, sorry my english... I hope you understand the semanthic of my
 words.

 Thanks,

 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Aptana does a good job for auto completion.

 I you weant to learn the api for yourself, I think that
 visualjquery.com is excellent, I almost always have it open whilst
 developing.



 On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette












[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
- think your plugin is tied to specific ids on each node. This should not
be necessary.
I didn't understand this sentence...

- the plugin is calling directly image to decorate the tree, I think it
should be done via options.
You are right. It will be done for the next version!

(google : jquery plugin pattern)
I did it already in 0.1 version (thanks to Mike Alsup - nice tutorial)

- you've a method new_node and then one named insert_node. confusing.
new_node intend to be private method, and insert_node is the public
method that uses new_node method. If its wrong try to explain me correct
implementation, please!

other than that, nice, very nice, for somebody that is just learning
english.
My brother is an excellent English writer and translator...

 you've ambitious scripts.
thank you very much I want to share these projects with developers. Do
you want colaborate? All of them is GPL!!!

correct URL. forgive me.
http://calango.barquettenet.net/~dirceu/isabela/jquery.isabela_drawhttp://calango.barquettenet.net/%7Edirceu/isabela/jquery.isabela_draw



2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 quick comments:

 - think your plugin is tied to specific ids on each node. This should not
 be necessary.
 - the plugin is calling directly image to decorate the tree, I think it
 should be done via options.  (google : jquery plugin pattern)
  actually the best is to use css clases for the different states and
 decorate them using css.
 - you've a method new_node and then one named insert_node. confusing.

 other than that, nice, very nice, for somebody that is just learning
 english. you've ambitious scripts.






 On Wed, Dec 17, 2008 at 5:49 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:


 I think the thread just ended. :D

 If you have some time, download and comment my plugins:
 http://jqtreevial.sourceforge.net

 And:
 http;//isabeladraw.sourceforge.net (official versioning)
 http://calango.barquettenet.net/~dirceu/isabela/jquery.isabela_drawhttp://calango.barquettenet.net/%7Edirceu/isabela/jquery.isabela_draw(nightly
  version)

 Thank you very much!


 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Don't worry with your english, I'm not a native.

 So you want to know how to make json request ?

 Do you still have a question, or do you want just to discuss stuffs ?




 On Wed, Dec 17, 2008 at 5:21 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 The initial question was just about libraries.
 The thread now pointing to CMS. This is my goal! Write in English about
 this is so much difficult to me.
 I have been doing many apps (my job...) using jquery.
 I follow this group just to learn more with others developers. When I
 have some dummy doubt about jQuery I just googlit and voila!! jQuery is a
 fatastic tool!! But I want much more and it is truely possible using jQuery
 thoughts.

 This is just a dream, but reachable: View components builded with jQuery
 that can request data from server (controller). Controller can be builded
 using any language you wish, but the answer just is a JSON! jQuery read 
 easy
 this answer and put data in the component previously created. You know?

 Thanks again for your interest!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com


 using a MVC framework such as cakephp or zend framework, you can put
 the html in a view, and on top of that view insert the js. If you use the
 head helper, you can make it be inserted between in the head/head.
 same for css.
 The I advice you to put your javascript code into seperate files, one
 for each plugins.

 This way, every time a view is requested, the relevant js will be
 called, and with HTML + js + css, you've your widget.

 Is that answering your question ?



 On Wed, Dec 17, 2008 at 4:38 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Forgive me the wrong words and semanthics. My mind is a tool for
 automatic translation...

 You are right about new thread. But in other words I want build the
 view part only. To do this I need some IDE. See this IDE like a GUI
 builder (with components ready to use).

 Second:
 If an user wants a list, he doesn't need write:
 $('li/')
.attr({id:'li-1'})
.css({list-style-image:'url(./imgs/blah.png)'})
.addClass('generalList')
.text('blah')
.appendTo('#ul-id');

 End users just wants: click on the element and choice what he wants.

 Put these two topics together and you have an application that build
 applications. Or a CMS!!!

 Thanks a lot!!!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Dirceu

 is this a different question ? in that case you should start a new
 thread with a different title
 also if you are using a tool for automatic translation, just mention
 it.

 I'm trying to understand what is your question.

 You are trying to create a client-side widget in a MVC framework, and
 you dont know how to structurate it ?


 Olivier


 On Wed, Dec 17, 2008 at 

[jQuery] Re: libraries

2008-12-17 Thread Olivier Percebois-Garve
Aptana does a good job for auto completion.

I you weant to learn the api for yourself, I think that visualjquery.com is
excellent, I almost always have it open whilst developing.


On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette



[jQuery] Re: libraries

2008-12-17 Thread Olivier Percebois-Garve
quick comments:

- think your plugin is tied to specific ids on each node. This should not be
necessary.
- the plugin is calling directly image to decorate the tree, I think it
should be done via options.  (google : jquery plugin pattern)
 actually the best is to use css clases for the different states and
decorate them using css.
- you've a method new_node and then one named insert_node. confusing.

other than that, nice, very nice, for somebody that is just learning
english. you've ambitious scripts.





On Wed, Dec 17, 2008 at 5:49 PM, Dirceu Barquette 
dirceu.barque...@gmail.com wrote:


 I think the thread just ended. :D

 If you have some time, download and comment my plugins:
 http://jqtreevial.sourceforge.net

 And:
 http;//isabeladraw.sourceforge.net (official versioning)
 http://calango.barquettenet.net/~dirceu/isabela_draw/jquery.isabela_drawhttp://calango.barquettenet.net/%7Edirceu/isabela_draw/jquery.isabela_draw(nightly
  version)

 Thank you very much!


 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Don't worry with your english, I'm not a native.

 So you want to know how to make json request ?

 Do you still have a question, or do you want just to discuss stuffs ?




 On Wed, Dec 17, 2008 at 5:21 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 The initial question was just about libraries.
 The thread now pointing to CMS. This is my goal! Write in English about
 this is so much difficult to me.
 I have been doing many apps (my job...) using jquery.
 I follow this group just to learn more with others developers. When I
 have some dummy doubt about jQuery I just googlit and voila!! jQuery is a
 fatastic tool!! But I want much more and it is truely possible using jQuery
 thoughts.

 This is just a dream, but reachable: View components builded with jQuery
 that can request data from server (controller). Controller can be builded
 using any language you wish, but the answer just is a JSON! jQuery read easy
 this answer and put data in the component previously created. You know?

 Thanks again for your interest!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com


 using a MVC framework such as cakephp or zend framework, you can put the
 html in a view, and on top of that view insert the js. If you use the 
 head
 helper, you can make it be inserted between in the head/head. same for
 css.
 The I advice you to put your javascript code into seperate files, one
 for each plugins.

 This way, every time a view is requested, the relevant js will be
 called, and with HTML + js + css, you've your widget.

 Is that answering your question ?



 On Wed, Dec 17, 2008 at 4:38 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Forgive me the wrong words and semanthics. My mind is a tool for
 automatic translation...

 You are right about new thread. But in other words I want build the
 view part only. To do this I need some IDE. See this IDE like a GUI
 builder (with components ready to use).

 Second:
 If an user wants a list, he doesn't need write:
 $('li/')
.attr({id:'li-1'})
.css({list-style-image:'url(./imgs/blah.png)'})
.addClass('generalList')
.text('blah')
.appendTo('#ul-id');

 End users just wants: click on the element and choice what he wants.

 Put these two topics together and you have an application that build
 applications. Or a CMS!!!

 Thanks a lot!!!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Dirceu

 is this a different question ? in that case you should start a new
 thread with a different title
 also if you are using a tool for automatic translation, just mention
 it.

 I'm trying to understand what is your question.

 You are trying to create a client-side widget in a MVC framework, and
 you dont know how to structurate it ?


 Olivier


 On Wed, Dec 17, 2008 at 2:42 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Ok!
 Thanks to all!. But the right stuff I want is everything like this:
 http://tof2k.com/ext/formbuilder

 I want to build components for the view layer. People (me included)
 has been building widgets and plugins for topics apps. Most of them 
 mixes
 among styles and logic to build it and force you develop controller at 
 the
 same time.
 When I develop an application, first I used to put any components
 without styles at the view layer. These components doesn't need to know 
 how
 the logic works to. It must exists without know weather model or
 controller exists and has own logic. View is a complete application by
 itself. Styles comes latter... Web designers doesn't need to know how 
 jQuery
 works. They need stylesheet only.
 The above link shows that it is possible (but still mixing style with
 logic). Components needs  constructor method to build itself. Others 
 methods
 and attrs comes latter.

 Again, sorry my english... I hope you understand the semanthic of my
 words.

 Thanks,

 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve 

[jQuery] Re: libraries

2008-12-17 Thread Olivier Percebois-Garve
Dirceu

is this a different question ? in that case you should start a new thread
with a different title
also if you are using a tool for automatic translation, just mention it.

I'm trying to understand what is your question.

You are trying to create a client-side widget in a MVC framework, and you
dont know how to structurate it ?


Olivier

On Wed, Dec 17, 2008 at 2:42 PM, Dirceu Barquette 
dirceu.barque...@gmail.com wrote:

 Ok!
 Thanks to all!. But the right stuff I want is everything like this:
 http://tof2k.com/ext/formbuilder

 I want to build components for the view layer. People (me included) has
 been building widgets and plugins for topics apps. Most of them mixes among
 styles and logic to build it and force you develop controller at the same
 time.
 When I develop an application, first I used to put any components without
 styles at the view layer. These components doesn't need to know how the
 logic works to. It must exists without know weather model or controller
 exists and has own logic. View is a complete application by itself. Styles
 comes latter... Web designers doesn't need to know how jQuery works. They
 need stylesheet only.
 The above link shows that it is possible (but still mixing style with
 logic). Components needs  constructor method to build itself. Others methods
 and attrs comes latter.

 Again, sorry my english... I hope you understand the semanthic of my words.

 Thanks,

 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Aptana does a good job for auto completion.

 I you weant to learn the api for yourself, I think that visualjquery.comis 
 excellent, I almost always have it open whilst developing.



 On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette






[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
Ok!
Thanks to all!. But the right stuff I want is everything like this:
http://tof2k.com/ext/formbuilder

I want to build components for the view layer. People (me included) has
been building widgets and plugins for topics apps. Most of them mixes among
styles and logic to build it and force you develop controller at the same
time.
When I develop an application, first I used to put any components without
styles at the view layer. These components doesn't need to know how the
logic works to. It must exists without know weather model or controller
exists and has own logic. View is a complete application by itself. Styles
comes latter... Web designers doesn't need to know how jQuery works. They
need stylesheet only.
The above link shows that it is possible (but still mixing style with
logic). Components needs  constructor method to build itself. Others methods
and attrs comes latter.

Again, sorry my english... I hope you understand the semanthic of my words.

Thanks,

Dirceu Barquette

2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Aptana does a good job for auto completion.

 I you weant to learn the api for yourself, I think that visualjquery.comis 
 excellent, I almost always have it open whilst developing.



 On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette





[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
The initial question was just about libraries.
The thread now pointing to CMS. This is my goal! Write in English about this
is so much difficult to me.
I have been doing many apps (my job...) using jquery.
I follow this group just to learn more with others developers. When I have
some dummy doubt about jQuery I just googlit and voila!! jQuery is a
fatastic tool!! But I want much more and it is truely possible using jQuery
thoughts.

This is just a dream, but reachable: View components builded with jQuery
that can request data from server (controller). Controller can be builded
using any language you wish, but the answer just is a JSON! jQuery read easy
this answer and put data in the component previously created. You know?

Thanks again for your interest!

Dirceu Barquette

2008/12/17 Olivier Percebois-Garve perceb...@gmail.com


 using a MVC framework such as cakephp or zend framework, you can put the
 html in a view, and on top of that view insert the js. If you use the head
 helper, you can make it be inserted between in the head/head. same for
 css.
 The I advice you to put your javascript code into seperate files, one for
 each plugins.

 This way, every time a view is requested, the relevant js will be called,
 and with HTML + js + css, you've your widget.

 Is that answering your question ?



 On Wed, Dec 17, 2008 at 4:38 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Forgive me the wrong words and semanthics. My mind is a tool for automatic
 translation...

 You are right about new thread. But in other words I want build the view
 part only. To do this I need some IDE. See this IDE like a GUI builder (with
 components ready to use).

 Second:
 If an user wants a list, he doesn't need write:
 $('li/')
.attr({id:'li-1'})
.css({list-style-image:'url(./imgs/blah.png)'})
.addClass('generalList')
.text('blah')
.appendTo('#ul-id');

 End users just wants: click on the element and choice what he wants.

 Put these two topics together and you have an application that build
 applications. Or a CMS!!!

 Thanks a lot!!!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Dirceu

 is this a different question ? in that case you should start a new thread
 with a different title
 also if you are using a tool for automatic translation, just mention it.

 I'm trying to understand what is your question.

 You are trying to create a client-side widget in a MVC framework, and you
 dont know how to structurate it ?


 Olivier


 On Wed, Dec 17, 2008 at 2:42 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Ok!
 Thanks to all!. But the right stuff I want is everything like this:
 http://tof2k.com/ext/formbuilder

 I want to build components for the view layer. People (me included)
 has been building widgets and plugins for topics apps. Most of them mixes
 among styles and logic to build it and force you develop controller at the
 same time.
 When I develop an application, first I used to put any components
 without styles at the view layer. These components doesn't need to know how
 the logic works to. It must exists without know weather model or
 controller exists and has own logic. View is a complete application by
 itself. Styles comes latter... Web designers doesn't need to know how 
 jQuery
 works. They need stylesheet only.
 The above link shows that it is possible (but still mixing style with
 logic). Components needs  constructor method to build itself. Others 
 methods
 and attrs comes latter.

 Again, sorry my english... I hope you understand the semanthic of my
 words.

 Thanks,

 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Aptana does a good job for auto completion.

 I you weant to learn the api for yourself, I think that
 visualjquery.com is excellent, I almost always have it open whilst
 developing.



 On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette









[jQuery] Re: libraries

2008-12-17 Thread Olivier Percebois-Garve
using a MVC framework such as cakephp or zend framework, you can put the
html in a view, and on top of that view insert the js. If you use the head
helper, you can make it be inserted between in the head/head. same for
css.
The I advice you to put your javascript code into seperate files, one for
each plugins.

This way, every time a view is requested, the relevant js will be called,
and with HTML + js + css, you've your widget.

Is that answering your question ?


On Wed, Dec 17, 2008 at 4:38 PM, Dirceu Barquette 
dirceu.barque...@gmail.com wrote:

 Forgive me the wrong words and semanthics. My mind is a tool for automatic
 translation...

 You are right about new thread. But in other words I want build the view
 part only. To do this I need some IDE. See this IDE like a GUI builder (with
 components ready to use).

 Second:
 If an user wants a list, he doesn't need write:
 $('li/')
.attr({id:'li-1'})
.css({list-style-image:'url(./imgs/blah.png)'})
.addClass('generalList')
.text('blah')
.appendTo('#ul-id');

 End users just wants: click on the element and choice what he wants.

 Put these two topics together and you have an application that build
 applications. Or a CMS!!!

 Thanks a lot!!!


 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Dirceu

 is this a different question ? in that case you should start a new thread
 with a different title
 also if you are using a tool for automatic translation, just mention it.

 I'm trying to understand what is your question.

 You are trying to create a client-side widget in a MVC framework, and you
 dont know how to structurate it ?


 Olivier


 On Wed, Dec 17, 2008 at 2:42 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Ok!
 Thanks to all!. But the right stuff I want is everything like this:
 http://tof2k.com/ext/formbuilder

 I want to build components for the view layer. People (me included) has
 been building widgets and plugins for topics apps. Most of them mixes among
 styles and logic to build it and force you develop controller at the same
 time.
 When I develop an application, first I used to put any components without
 styles at the view layer. These components doesn't need to know how the
 logic works to. It must exists without know weather model or controller
 exists and has own logic. View is a complete application by itself. Styles
 comes latter... Web designers doesn't need to know how jQuery works. They
 need stylesheet only.
 The above link shows that it is possible (but still mixing style with
 logic). Components needs  constructor method to build itself. Others methods
 and attrs comes latter.

 Again, sorry my english... I hope you understand the semanthic of my
 words.

 Thanks,

 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Aptana does a good job for auto completion.

 I you weant to learn the api for yourself, I think that
 visualjquery.com is excellent, I almost always have it open whilst
 developing.



 On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette








[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
Forgive me the wrong words and semanthics. My mind is a tool for automatic
translation...

You are right about new thread. But in other words I want build the view
part only. To do this I need some IDE. See this IDE like a GUI builder (with
components ready to use).

Second:
If an user wants a list, he doesn't need write:
$('li/')
   .attr({id:'li-1'})
   .css({list-style-image:'url(./imgs/blah.png)'})
   .addClass('generalList')
   .text('blah')
   .appendTo('#ul-id');

End users just wants: click on the element and choice what he wants.

Put these two topics together and you have an application that build
applications. Or a CMS!!!

Thanks a lot!!!

Dirceu Barquette

2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Dirceu

 is this a different question ? in that case you should start a new thread
 with a different title
 also if you are using a tool for automatic translation, just mention it.

 I'm trying to understand what is your question.

 You are trying to create a client-side widget in a MVC framework, and you
 dont know how to structurate it ?


 Olivier


 On Wed, Dec 17, 2008 at 2:42 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Ok!
 Thanks to all!. But the right stuff I want is everything like this:
 http://tof2k.com/ext/formbuilder

 I want to build components for the view layer. People (me included) has
 been building widgets and plugins for topics apps. Most of them mixes among
 styles and logic to build it and force you develop controller at the same
 time.
 When I develop an application, first I used to put any components without
 styles at the view layer. These components doesn't need to know how the
 logic works to. It must exists without know weather model or controller
 exists and has own logic. View is a complete application by itself. Styles
 comes latter... Web designers doesn't need to know how jQuery works. They
 need stylesheet only.
 The above link shows that it is possible (but still mixing style with
 logic). Components needs  constructor method to build itself. Others methods
 and attrs comes latter.

 Again, sorry my english... I hope you understand the semanthic of my
 words.

 Thanks,

 Dirceu Barquette

 2008/12/17 Olivier Percebois-Garve perceb...@gmail.com

 Aptana does a good job for auto completion.

 I you weant to learn the api for yourself, I think that visualjquery.comis 
 excellent, I almost always have it open whilst developing.



 On Tue, Dec 16, 2008 at 8:22 PM, Dirceu Barquette 
 dirceu.barque...@gmail.com wrote:

 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette







[jQuery] Re: libraries

2008-12-16 Thread Ricardo Tomasi

Hmm.. what do you mean? all of these are plain text, I guess you meant
something other than 'file format' (and csv has nothing to do with CSS
by the way, more than the rest is unrelated!) :]

On Dec 16, 5:22 pm, Dirceu Barquette dirceu.barque...@gmail.com
wrote:
 Hi,

 I'd like to know, please:
 There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
 The goal is an IDE...

 Thanks.

 Dirceu Barquette


[jQuery] Re: libraries

2008-12-16 Thread Dirceu Barquette
OK. CSV isn't required...
All the IDE has {css,tagHtml}attrs or jQuery{attr,methods} auto-complete
cappable . If I have these lists, auto-completing is easy... isn't it?
Thanks
Dirceu Barquette

2008/12/16 Ricardo Tomasi ricardob...@gmail.com


 Hmm.. what do you mean? all of these are plain text, I guess you meant
 something other than 'file format' (and csv has nothing to do with CSS
 by the way, more than the rest is unrelated!) :]

 On Dec 16, 5:22 pm, Dirceu Barquette dirceu.barque...@gmail.com
 wrote:
  Hi,
 
  I'd like to know, please:
  There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
  The goal is an IDE...
 
  Thanks.
 
  Dirceu Barquette



[jQuery] Re: libraries

2008-12-16 Thread Ricardo Tomasi

Ah now I see what you mean.

You can download the extensions for Dreamweaver or IntelliSense at
http://xtnd.us/dreamweaver/jquery
http://www.mustafaozcan.net/en/post/2008/06/15/JQuery-1-2-6-Intellisense-for-Visual-Studio-2008.aspx

But I think it's more productive to rewrite it from scratch in your
own format. The Intellisense code is embedded in the comments of the
script itself, you'd have to create a parser for that.

On Dec 16, 8:09 pm, Dirceu Barquette dirceu.barque...@gmail.com
wrote:
 OK. CSV isn't required...
 All the IDE has {css,tagHtml}attrs or jQuery{attr,methods} auto-complete
 cappable . If I have these lists, auto-completing is easy... isn't it?
 Thanks
 Dirceu Barquette

 2008/12/16 Ricardo Tomasi ricardob...@gmail.com



  Hmm.. what do you mean? all of these are plain text, I guess you meant
  something other than 'file format' (and csv has nothing to do with CSS
  by the way, more than the rest is unrelated!) :]

  On Dec 16, 5:22 pm, Dirceu Barquette dirceu.barque...@gmail.com
  wrote:
   Hi,

   I'd like to know, please:
   There is  {HTML,CSS,jQuery}library in [xml,csv,json]file format?
   The goal is an IDE...

   Thanks.

   Dirceu Barquette