[nagare-users:653] Re: Sharing the data model between a javascript front-end and REST back-end

2019-11-07 Thread Terrence Brannon
I do some thinking out loud about this issue here: https://www.reddit.com/r/Python/comments/dt04f5/a_single_object_model_for_frontend_and_backend_in/ On Thursday, November 7, 2019 at 7:00:12 AM UTC-8, Terrence Brannon wrote: > > The modern style of web app development is typically what y

[nagare-users:652] Sharing the data model between a javascript front-end and REST back-end

2019-11-07 Thread Terrence Brannon
The modern style of web app development is typically what you see in this reddit post: https://www.reddit.com/r/Python/comments/dswxa0/which_web_framework/ * a javascript front-end that is highly interactive * a REST back-end that provides model processing The big problem with this style is: How

[nagare-users:649] When is the 4.0 release due out?

2019-10-24 Thread Terrence Brannon
I noticed there are many commits to the nagare project in October: https://github.com/nagareproject So, when do we get to see the 4.0 release? -- You received this message because you are subscribed to the Google Groups "Nagare users" group. To unsubscribe from this group and stop receiving

[nagare-users:647] Integrating Muntjac?

2018-11-13 Thread Terrence Brannon
At one time, Alain was very interested in the Muntjac project which used the Vaadin widgets - https://github.com/rwl/muntjac Are there any plans to integrate the Vaadin widgets and/or Muntjac into Nagare? -- You received this message because you are subscribed to the Google Groups "Nagare

Re: [nagare-users:645] Re: Nagare should be upgraded to Python 3?

2018-11-09 Thread Terrence Brannon
:40 AM apoirier wrote: > Le vendredi 9 novembre 2018 17:27:23 UTC+1, Terrence Brannon a écrit : >> >> I just noticed setup.py is using Python 2 syntax. Any plans to upgrade to >> Python 3? >> > > Yep, the 0.6 also runs on Python 2.7 and Python >= 3.5 >

[nagare-users:642] Nagare should be upgraded to Python 3?

2018-11-09 Thread Terrence Brannon
I just noticed setup.py is using Python 2 syntax. Any plans to upgrade to Python 3? -- You received this message because you are subscribed to the Google Groups "Nagare users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[nagare-users:640] Re: Nagare web framework still alive

2018-11-09 Thread Terrence Brannon
I work at a financial institution and cannot access google groups at work easily. I yearn for the days of mailing lists where you could send an email and subscribe. On Friday, January 13, 2017 at 2:50:45 AM UTC-7, apoirier wrote: > > Le jeudi 12 janvier 2017 20:22:45 UTC+1, En Ware a écrit : >>

[nagare-users:624] CallbackLookupError in form button action

2015-05-13 Thread Terrence Brannon
When I click on the Update button in my webapp: https://gist.github.com/metaperl/e5ce713319e480c09345#file-gistfile1-py-L386 I get the exception CallbackLookupError. The Update button is rendered in the 'edit' presentation model of a BodyTextEditor, which as you can see is explictly set as the

[nagare-users:617] AmbiguousMethods exception for presentation tier

2015-05-12 Thread Terrence Brannon
I created two presentation models for instances of the class BodyTextEditor. A default one: https://gist.github.com/metaperl/9cf7b7106a856710bd71#file-gistfile1-py-L359 and an edit one: https://gist.github.com/metaperl/9cf7b7106a856710bd71#file-gistfile1-py-L388 I had no problems before this. But

[nagare-users:606] Re: Components as class data - ⇝ CallbackLookupError: 39892850

2015-05-06 Thread Terrence Brannon
)* *self.column_delimiter_comp = component.Component(* *self.column_delimiter_editor)* On Wednesday, May 6, 2015 at 3:10:17 PM UTC-7, Terrence Brannon wrote: In this code https://gist.github.com/metaperl/48cb69901b10a256960e I am getting a CallbackLookupError. Specifically, when I click Set Global

[nagare-users:605] Components as class data - ⇝ CallbackLookupError: 39892850

2015-05-06 Thread Terrence Brannon
In this code https://gist.github.com/metaperl/48cb69901b10a256960e I am getting a CallbackLookupError. Specifically, when I click Set Global Delimiter: https://gist.github.com/metaperl/48cb69901b10a256960e#file-gistfile1-py-L508 which is rendered in line 568 -

[nagare-users:579] Re: updating a table via SQLAlchemy

2015-04-27 Thread Terrence Brannon
I've reposted this question on StackOverflow: http://stackoverflow.com/questions/29901637/updating-a-row-using-the-sqlalchemy-support-in-nagare On Friday, April 24, 2015 at 2:17:14 PM UTC-7, Terrence Brannon wrote: I have a SQLAlchemy table in models.py: t_QMx_OBFL_Parser = Table

[nagare-users:563] Traceback does not show any of my lines of code

2015-04-23 Thread Terrence Brannon
I am getting an error in my code [1], but the --debug option to `nagare-admin serve` is not giving a stack trace which shows which line in my code the problem starts at. it only shows the lines of traceback from nagare files, not mine [2] [1]

[nagare-users:564] code reuse in rendering

2015-04-23 Thread Terrence Brannon
If HeaderOnly derives from AddParser then how can HeaderOnly use the rendering method of AddParser prior to doing its own rendering? I want the line `super(HeaderOnly, self).render(h, comp, args)` to work. class AddParser(object): def __init__(self): self.name = ''

[nagare-users:549] Speed of support

2015-04-22 Thread Terrence Brannon
Is there any option for paid support? If I were to use Nagare for serious work, I would want to get answers to my questions very quickly. -- You received this message because you are subscribed to the Google Groups Nagare users group. To unsubscribe from this group and stop receiving emails

[nagare-users:542] Calling a component as the post_action() of a form.

2015-04-14 Thread Terrence Brannon
I am trying to implement TodoMVC in Nagare: http://todomvc.com/examples/react/#/ I currently am getting the error: TypeError: commit_form_and_answer() takes exactly 1 argument (0 given) As you can see in the source code: https://gist.github.com/metaperl/21aac2d2a5cba7f367e8 I attemped to

[nagare-users:536] Function of underscore in rendering?

2015-04-13 Thread Terrence Brannon
On Sunday, April 12, 2015 at 4:40:18 PM UTC-7, apoirier wrote: @presentation.render_for(AppEditor) def render(self, h, *args): with h.form: with h.fieldset(): h _('Male') h h.input(type='radio', name='gender').selected(self.gender()

[nagare-users:525] passing a plain object to Component.becomes()

2015-04-11 Thread Terrence Brannon
In [the Component Model documentation](http://www.naga.re/trac/wiki/ComponentModel) there is a section titled Permanently replacing a component. In this section a component becomes a plain object, not a component: h h.a('The Color chooser').action(lambda:

[nagare-users:526] easy_install 'nagare[full]' builds lxml against wrong version of libxslt

2015-04-11 Thread Terrence Brannon
I am running Mac OS X and I am attempting to follow [the Nagare instructions listed in the QuickStart](http://www.nagare.org/trac/wiki/QuickStart). In section 2.1 it says to create a virtual environment, but it never says to activate it, which seems like a problem to me. So I activated the

[nagare-users:522] App instance attribute not eagerly created

2015-04-10 Thread Terrence Brannon
I am trying to execute some old code verbatim: https://groups.google.com/forum/#!topic/nagare-users/4MjMHdL8mbg However, in `class App` the attribute editor_component is not eagerly created. This leads to the presentation layer failing on the line `h self.editor_component` I would appreciate

[nagare-users:509] (off-topic) Python Object Systems

2014-08-11 Thread Terrence Brannon
I apologize in advance for this topic that is tangential to Nagare, yet clearly relevant. I thought there would already be a comprehensive survey of the object layers that have been added to Python, yet I have been unable to find any such survey. In fact, I figured that Nagare would have a