I think the web2py component should have the concept of an Interface
as in COM, Java and C#.
So I propose that the component would have some classes whose names
begin with interface_
(or whatever naming convention is web2py-acceptable) and these classes
would represent the exposed interfaces.
Unli
Sure.
jDiv1 = Customer Detail/Form
jDiv2 = Invoice List
jDiv3 = Invoice Detail/Invoice Form
The above jDiv's are partials that are re-used in a number of
different views. jDiv2 is not always used in a view where jDiv3 is
used for example.
One of the views does use all of the above jDivs. In thi
looking at html.py I see that the FORM class does keep a list of all
its child instances in self.components.
So that is not a concern.
On May 5, 3:18 am, dlypka wrote:
> I think the web2py component should have the concept of an Interface
> as in COM, Java and C#.
> So I propose that the compone
Hello Massimo,
what is the license of the wiki?
Please add it to:
http://bazaar.launchpad.net/~mdipierro/web2py-wiki/trunk/annotate/head%3A/LICENSE
Kind regards,
Timmie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
http://bazaar.launchpad.net/~mdipierro/web2py-wiki/trunk/annotate/head%3A/models/db.py
change the following:
db.define_table('page',
db.Field('uuid',length=128,writable=False,default=str(uuid.uuid4
())),
db.Field('title'),
db.Field('menu',length=128),
db.Field('public','boolean',defau
Massimo,
'T2 is dead and not longer supported' is definitely a killer
argument :-/
If I'm not mistaken then the same problem exist with the auth_ tables.
How should the db.define_table
('something',,migrate='something.table') workaround be applied to
auth_ tables in a way that it survives fr
I will make it dual BSD and GP unless you have a better suggestion. I
do not have a string feeling about this.
Massimo
On May 5, 4:09 am, Timmie wrote:
> Hello Massimo,
> what is the license of the wiki?
>
> Please add it
> to:http://bazaar.launchpad.net/~mdipierro/web2py-wiki/trunk/annotate/h
Since wiki is not code (mostly) and is text, please consider adopting
Creative Commons License. Nice interactive tool:
http://creativecommons.org/license/
My suggestion:
You could choose CC 3.0, Attribution Required, Commercial Use allowed,
Must share modifications.
Regards
Anand
On May 5, 8
I am not sure what you mean by "in a way that it survives framework
updates".
The only problems I can see would arise if:
- You delete databases/*.table but the database is still there
(updates do not cause this). Bad luck. One should not delete files, or
at least make a backup.
- Your databases/
+1.
On May 5, 2009 4:09 PM, "Anand Vaidya" wrote:
Since wiki is not code (mostly) and is text, please consider adopting
Creative Commons License. Nice interactive tool:
http://creativecommons.org/license/
My suggestion:
You could choose CC 3.0, Attribution Required, Commercial Use allowed,
Mus
I see you refer to the content of the wiki, not the code of the wiki.
Creative Commons is ok with me.
Massimo
On May 5, 9:35 am, Kuba Kucharski wrote:
> +1.
>
> On May 5, 2009 4:09 PM, "Anand Vaidya" wrote:
>
> Since wiki is not code (mostly) and is text, please consider adopting
> Creative Co
On Tue, May 5, 2009 at 4:37 AM, Timmie wrote:
>
>
> http://bazaar.launchpad.net/~mdipierro/web2py-wiki/trunk/annotate/head%3A/models/db.py
> change the following:
>
.
> into:
> db.define_table('page',
>
> db.Field('category','string'), # one page can only be in one
> category (lik
On Tue, May 5, 2009 at 9:25 AM, mdipierro wrote:
> The only problems I can see would arise if:
> - You delete databases/*.table but the database is still there
> (updates do not cause this). Bad luck. One should not delete files, or
> at least make a backup.
Maybe at some point we can add
Greetings I'm trying to log the events when a create a table with crud
but i always get the same error
my code is
in the model
crud.settings.logger=auth
in the controller i try already
@auth.requires_login()
def customcreate():
form = crud.create('databasedp', log='Record %(id)s created'
Massimo,
Saw the discussion on the YC blog last night about web2py. Kudos on
the spirited defense. Too bad some of the discussion was more personal
than factual.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2p
what blog are you talking about? (I searched yc blog web2py - and only came
up w/ ~year-old things)
On Tue, May 5, 2009 at 11:03 AM, JohnMc wrote:
>
> Massimo,
>
> Saw the discussion on the YC blog last night about web2py. Kudos on
> the spirited defense. Too bad some of the discussion was more
Yes or perhaps a repair.py script.
Massimo
On May 5, 10:24 am, Yarko Tymciurak wrote:
> On Tue, May 5, 2009 at 9:25 AM, mdipierro wrote:
>
>
>
> > The only problems I can see would arise if:
> > - You delete databases/*.table but the database is still there
> > (updates do not cause this)
It may be a bug. I will look into it and fix it tonight.
On May 5, 10:21 am, NewBeen wrote:
> Greetings I'm trying to log the events when a create a table with crud
> but i always get the same error
>
> my code is
>
> in the model
>
> crud.settings.logger=auth
>
> in the controller i try already
I had to change the IP address of my server. I am in the process of
updating the DNS.
The server will be unreachable for one hour or so.
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework"
which one? I did not have any discussion on yc yesterday.
On May 5, 11:03 am, JohnMc wrote:
> Massimo,
>
> Saw the discussion on the YC blog last night about web2py. Kudos on
> the spirited defense. Too bad some of the discussion was more personal
> than factual.
--~--~-~--~~
Working on another application. One table in the DAL will have about
60 Fields in it. Using one long form would work but gets rather bland.
I would prefer to visually cut it up. I could either capture the data
in multiple screens for input or use a tabbed interface to capture the
data. I am leanin
Hmm. I'll have to check the dates, It came up on one of my RSS feeds
yesterday.
On May 5, 12:01 pm, mdipierro wrote:
> which one? I did not have any discussion on yc yesterday.
>
> On May 5, 11:03 am, JohnMc wrote:
>
> > Massimo,
>
> > Saw the discussion on the YC blog last night about web2py.
The discussion was a year ago. Should have checked the dates.
Came up from this -- http://delicious.com/url/8dff951022f74a71ae29504c18b87c83.
Sorry about that.
On May 5, 12:04 pm, JohnMc wrote:
> Hmm. I'll have to check the dates, It came up on one of my RSS feeds
> yesterday.
>
> On May 5, 12
should be back.
On May 5, 11:29 am, mdipierro wrote:
> I had to change the IP address of my server. I am in the process of
> updating the DNS.
> The server will be unreachable for one hour or so.
>
> Massimo
--~--~-~--~~~---~--~~
You received this message because
IMO one more thing to consider is that a database is not necessarily
exclusively owned by one application. I would even go further and say
default should be a database is NOT exclusively owned by one app and
also not by one framework.
Currently the problem arises if the .table files of one web2py
> What do you think?
>
>
> Would this be like gmail labels then - any label, no heirarchical structure?
I do not use gmail.
But by nature, tags as in Web2.0 are no hirarchial (statistical ordering
in tag clouds).
> How would you define categories?
The administrator of wiki defines the ca
I agree and it does not have to me. The current system does not limit
that. It only limits the fact that one app should do migrations. If
more than one app may do migrations just symlink the database folder.
Massimo
On May 5, 2:09 pm, Hans
wrote:
> IMO one more thing to consider is that a datab
BTW...
I do not think the current system is perfect. Ideally web2py should
query the database for the current table stucture instead of using
local .table files. .table files exist because
- I do not know an alternative
- because it is faster to look this up locally than query the database
Massi
> I will make it dual BSD and GP unless you have a better suggestion. I
> do not have a string feeling about this.
Thanks for the answer.
I was referring to the code itself hosted at LP.
I stealt a module there but will come back later with the outcome.
An idea had yesterday and ... it works. B
60 fields ! I can't even remember a web app with only half of this.
Sure the data is normalized enough ? Maybe you can think of a multiple
page form.
On 5 mai, 19:02, JohnMc wrote:
> Working on another application. One table in the DAL will have about
> 60 Fields in it. Using one long form would
I would suggest breaking the 60 fields over multiple tables (the way
you want forms to look like) and link them using references.
It will be much easier to handle it long term.
Massimo
On May 5, 12:02 pm, JohnMc wrote:
> Working on another application. One table in the DAL will have about
> 60
On Tue, May 5, 2009 at 2:11 PM, Tim Michelsen
wrote:
>
> > What do you think?
> >
> >
> > Would this be like gmail labels then - any label, no heirarchical
> structure?
> I do not use gmail.
>
> But by nature, tags as in Web2.0 are no hirarchial (statistical ordering
> in tag clouds).
I thin
thanks for clarifying, the pointer...
On Tue, May 5, 2009 at 12:09 PM, JohnMc wrote:
>
> The discussion was a year ago. Should have checked the dates.
>
> Came up from this --
> http://delicious.com/url/8dff951022f74a71ae29504c18b87c83.
>
> Sorry about that.
>
> On May 5, 12:04 pm, JohnMc wrote
Symlinking the app/database folder would work in environments with up
to one application server.
Unfortunately also I don't know how to query the database table
structure in all web2py supported databases. But, maybe, we have some
experts for one or the other supported database on the forum and
w
Hello Eeverybody:
Need a ( two) developer (s) who can develop an application using
web2py:
I am trying to develop a specification for a web2py development. The
job is developing a web2py CMS application to manage education
content.
- take camera input, video and voice
- lecture notes as input
someone looked into this, tried some time back ... emulating the kinds of
things that sqlalchamy does; I think he had limited success; not sure I
recall what the summary was.
On Tue, May 5, 2009 at 2:50 PM, Hans wrote:
>
> Symlinking the app/database folder would work in environments with up
>
Hello,
I am keen to get your opinion on this one:
using pyjamas with other javascript libraries/frameworks
http://groups.google.com/group/pyjamas-dev/browse_thread/thread/639dffd00d6b7c7
Disclaimer: I am more or less illiterate on JavaScript...
Regards!
--~--~-~--~~~---
Honestly I do not particularly care. For the code we can do GPL, BSD
and Creative Commons.
On May 5, 2:15 pm, Tim Michelsen wrote:
> > I will make it dual BSD and GP unless you have a better suggestion. I
> > do not have a string feeling about this.
>
> Thanks for the answer.
>
> I was referring
I have multiple input fields with the same name. After submitting form
I have my input fields filled with values like ['','','','']. Can
web2py keep values for multiple input fields?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I've modified jDivLoad to incorporate the jQuery form plugin in order
to enable file uploads within forms that are part of a jDiv. I thought
I would post the change below so that whoever is working on jDiv can
incorporate this functionality in a better way than the hack I've done
for my purposes.
Why do you have multiple fields with the same names? In general this
should only be done for checkboxes. Is that the case?
Massimo
On May 5, 3:40 pm, opedge wrote:
> I have multiple input fields with the same name. After submitting form
> I have my input fields filled with values like ['','',''
Fantastic! Thank you.
Massimo
On May 5, 6:17 pm, Ted G wrote:
> I've modified jDivLoad to incorporate the jQuery form plugin in order
> to enable file uploads within forms that are part of a jDiv. I thought
> I would post the change below so that whoever is working on jDiv can
> incorporate thi
John, I just counted one of my app, an order management system. The
order table has 45 fields. Here is what I did. I put them on the same
page so that all input data are validated together via the comfortable
form.accepts(...). The only downside is the default layout of SQLFORM
(...) for such a bi
desfrenes,
Normalize, certainly can. If I follow a logical format at best it
might get the count down to 43 fields. I could of course just force
the issue a cut the table up as Massimo suggests and match the fields
with the views to something more manageable. Ultimately it maybe what
I do.
icebe
I've used the same technique you describe in order to create a better
form layout. In my case I did not have as many fields, but I did have
a few text areas, which created a "vertically challenged" form.
Same as your approach, I create a form using SQLFORM as per normal and
pass it to the view wi
I'm still green when it comes to web2py auth and I'm faced with
integrating a web2py app with a Ruby app, of which I know nothing.
Does anyone out there know enough about both to suggest how to have
Ruby do user auth but then pass a certificate to web2py auth? I'm not
sure I can figure this one ou
Hi!
> Note: The build setup may curretly not work correctly due to outstanding
> configuration isuues.
All config issues have been removed.
> This will be adjusted during the course of the week.
I just pushed the latest changes to the repository:
https://code.launchpad.net/~web2py/web2py/web2py
47 matches
Mail list logo