Im sorry, I can't find how to make the administrative interface
available on my local network. I know this is a security risk but in a
production environment it can be a necessity... Maybe a command line
option?
Thanks
Hi,
If you want a new ISP - I have four under used servers that I'm happy
to offer as a host for the site for free if you want. I currently host
around 30 (several are mine, most for friends, all for free) websites
with ASP, Perl, PHP, MySQL, Sharepoints, SQL Server and of course my
own Web2py dev
Very cool, but remember that the ButtonMaker won't work for internet
explorer as IE doesn't support the 'border-radius' attribute. Not a biggie -
just *another* irritation I have with IE :( .
Thanks for the links though.
On Wed, Jun 9, 2010 at 11:49 PM, GoldenTiger wrote:
> I would share some p
Setting:
label {
white-space: nowrap;
}
solved the problem, thanks for providing me with this solution.
Annet.
Massimo,
At the moment this is the only static file I serve, so web2py does all
the work.
Annet.
I think I'm dealing with the same situation, however, I'm going about
it a little differently. I'm storing files in
uploads/users/user_id/filename
My user_id is a cypher of characters [A-Z][a-z][0-9] with a length
anywhere from 8 to 12 characters or so. The filename is another cypher
created auto
there is no comment line option becasue we believe this should not be
done. Anyway, you can edit applications/admin/models/access.py and
implement your own rules.
On Jun 10, 2:30 am, Giuseppe Luca Scrofani
wrote:
> Im sorry, I can't find how to make the administrative interface
> available on my
Thanks it solved the breaking app problem when not connect also.
2010/6/8 mdipierro
> auth.user_id is the user id retrived from the session.
>
>
>
> On Jun 8, 1:39 pm, Jean Guy wrote:
> > Hello web2py geek,
> >
> > How can I get the user id from session ?
> >
> > Thanks.
> >
> > Jonhy
>
Thanks Candid and Massimo for answering, I've tried your suggestion,
Massimo, and it worked.
I've replaced (starting from line 12 in applications/admin/models/access.py)
else:
hosts = (http_host, socket.gethostname(),
socket.gethostbyname(http_host),
'::1','127.0.0.1'
Here is a new version of the patch to address the issues:
- no more __key__ in _extra (and in understand why it breaks backward
compatibility nowjust needed to think about it)
- since it is illegal in web2py to have "_" start a field name,
"__key__" can never be a field name and never que
Thanks I will apply this tonight.
On Jun 10, 9:29 am, Christian Foster Howes wrote:
> Here is a new version of the patch to address the issues:
>
> - no more __key__ in _extra (and in understand why it breaks backward
> compatibility nowjust needed to think about it)
> - since it is illeg
I get service not found when using this:
@service.amfrpc3('testing_domain')
def addvalues(a,b): return a+b
from client:
from pyamf.remoting.client import RemotingService
client =
RemotingService('http://127.0.0.1:8001/warsawbackpanel/default/call/amfrpc3')
service = client.getService('testing
I see in the book how to compute values from fields within a form. I
still dont get how to do this under CRUD. I am able to compute values
using the compute function but if I have a value that depends on the
sum of other field I get an error. Can someone show me how to do
this?
Thanks
I've had an issue lately where pretty much every function in a
controller needed an auth decorator. Given how many functions were in
the controller this turned out to be an error prone forgetful process.
So I came up with a simple and probably obvious way to make a
controller wide auth check comp
compute is the way. Show us how you are doing it and the error and we
can tell you how to fix it.
On Jun 10, 10:03 am, greenpoise wrote:
> I see in the book how to compute values from fields within a form. I
> still dont get how to do this under CRUD. I am able to compute values
> using the compu
You are a nice guy!
Thank you.
Jonhy
2010/6/10 Doug Warren
> I've had an issue lately where pretty much every function in a
> controller needed an auth decorator. Given how many functions were in
> the controller this turned out to be an error prone forgetful process.
> So I came up with a
The redirect those not work out of the box...
Jonhy
2010/6/10 Jean Guy
> You are a nice guy!
>
>
> Thank you.
>
> Jonhy
>
> 2010/6/10 Doug Warren
>
> I've had an issue lately where pretty much every function in a
>> controller needed an auth decorator. Given how many functions were in
>> the
I like the idea of an execmodels.py file, it could create a list of
model names to execute.. Not yaml or cfg because that means web2py
would require yet another library
Massimo, tell me where this code *should* go and I will work on it
since this is a very important feature to me. Lets draft up a
Getting :
http://127.0.0.1:8000/dev/default/user/login?_next=/dev/default/user/login%3F_next%3D%252Fdev%252Fdefault%252Fuser%252Flogin%253F_next%253D%25252Fdev%25252Fdefault%25252Fuser%25252Flogin%25253F_next%25253D%2525252Fdev%2525252Fdefault%2525252Fuser%2525252Flogin%2525253F_next%2525253D%2525
http://www.jqueryplugins.com/plugins/
Try to import in ipython it pass...
urllib seems to be part of other package in ubuntu :
http://stackoverflow.com/questions/2532321/python-importerror-no-module-named-urllib
or python-m2crypto
Don't know which one is best...
Could it depends of python version?
Jonhy
2010/6/10 Jean Guy
> Get
One thing I thought about was to have the models loading wrap around
an exception holder in run_models_in something like
delay_process = []
for model in models:
...
try:
restricted()
except RequirementMissing:
delay_process.append(model)
while 1:
new_delay_process
I'm not sure actually the code was mostly cut and pasted directly from
tools.py perhaps it needs an import urllib2 as well? The code as
written was deployed on my stock 2.6 win32 python and web2py from
source (not from exe.) I haven't tried it yet in my production
environment.
Try it with the dec
Here is my proposal:
define the following:
request.models=(
('*','db.py'),
('*','model1.py'),
('*','model2.py'),
('default','model3.py'),
('default/a,default/b','model4.py'),
)
it specifies the order in which models should be executed. For each
row, the first item specifies whether the model sho
one we agree with the syntax, this is easy. The main issue is making
sure it works with bytecode compiled models.
On Jun 10, 11:20 am, mdipierro wrote:
> Here is my proposal:
>
> define the following:
>
> request.models=(
> ('*','db.py'),
> ('*','model1.py'),
> ('*','model2.py'),
> ('default','mo
With decorator it works.
I try with urllib2.
Jonhy
2010/6/10 Doug Warren
> I'm not sure actually the code was mostly cut and pasted directly from
> tools.py perhaps it needs an import urllib2 as well? The code as
> written was deployed on my stock 2.6 win32 python and web2py from
> source (no
I will have to point out.
You can resize slices at anytime you want with no downtime to your server.
You can clone any slice as many times as you want to any size of disk
you want without taking down the original slice
You get automated backups from daily, weekly, to monthly that are
exact image
Don't work.
2010/6/10 Jean Guy
> With decorator it works.
>
> I try with urllib2.
>
>
> Jonhy
>
> 2010/6/10 Doug Warren
>
>> I'm not sure actually the code was mostly cut and pasted directly from
>> tools.py perhaps it needs an import urllib2 as well? The code as
>> written was deployed on m
What if I needed two controllers to share the same model? Would I then
place two definitions in request.models?
Not 0.py that is not a valid python filename. Python modules/variables
cannot start with numbers.
how about just a simple "exec.py" that gets loaded before everything?
--
Thadeus
that comes up as a bad link for me...
www.jquery.com/plugins redirects to http://plugins.jquery.com -- is
this the one you meant?
On Jun 10, 11:04 am, mdipierro wrote:
> http://www.jqueryplugins.com/plugins/
I think just...
http://www.jqueryplugins.com/
--
Thadeus
On Thu, Jun 10, 2010 at 12:02 PM, Yarko Tymciurak
wrote:
> that comes up as a bad link for me...
>
> www.jquery.com/plugins redirects to http://plugins.jquery.com -- is
> this the one you meant?
>
> On Jun 10, 11:04 am, mdipierro wro
On Jun 10, 11:20 am, mdipierro wrote:
> Here is my proposal:
>
> define the following:
>
> request.models=(
> ('*','db.py'),
> ('*','model1.py'),
> ('*','model2.py'),
> ('default','model3.py'),
> ('default/a,default/b','model4.py'),
> )
>
> it specifies the order in which models should be executed
How will the exec_models.py be formatted
Could it potentially be executed in an environment given a list, and
append or overwrite this list with the model definitions
exec_models = [
'settings.py', 'db.py', 'auth.py', 'tag.py', 'post.py',
'comments.py', 'menu.py', 'other.py',
]
Wildc
... this all _sounds_ great, but for one thing:
It places a dependency (an "import" or setup list) FAR AWAY from
where it should be declared!!!
This _will_ (sooner or later) become a problem.
Why not have something _less global_ (why _one_ config file???), and
more component / containment ori
Just remove the /plugins
2010/6/10 Yarko Tymciurak
> that comes up as a bad link for me...
>
> www.jquery.com/plugins redirects to http://plugins.jquery.com -- is
> this the one you meant?
>
> On Jun 10, 11:04 am, mdipierro wrote:
> > http://www.jqueryplugins.com/plugins/
>
That's kind of what i was getting at with my suggestion listed above
in some pseudocode.
Let the model try to grab it's required modules if it can't find one
it'll just raise an exception and it'll be tried again later.
Eventually all dependencies that are solvable will work themselves
out...
(On
On Jun 10, 12:37 pm, Doug Warren wrote:
> That's kind of what i was getting at with my suggestion listed above
> in some pseudocode.
Right - except for this:
[[for those that "read" all-caps as "yelling" (who the heck thought
that? CLEARLY not anyone that was alive, or could have worked on a
If we are going to work on this we may as well solve a different
problem.
Executing models take time. If you have 500 tables each defined it its
own file, it takes lots of time. Yet not all actions need all tables
so we may want to implement a dependency not just among models but
among actions and
We're back! Sorry about the extended downtime. I ended up going with
FiveBean since their VPS's were more in my price range (promo code
UBUNTU gives you 50% off!).
http://fivebean.com/account/aff.php?aff=161
Now get to slicin'!
On Jun 10, 11:26 am, Thadeus Burgess wrote:
> I will have to point ou
We selected web2py over django and pylons to replace RoR. Luckily,
that project doesn't require paranoid security (hence our ability to
use RoR in the past.)
But we're evaluating web2py to replace a Win32 GUI intranet app, and
preventing hacks on the server side, is pretty high on the priority
fo
I don't remember how I come with this link :
http://abeautifulsite.net/2008/04/jquery-multiselect/
But it could serve my needs for sometime...
I'm not experienced at all with jquery. I would like to use it with web2py
mainly cause it seems to let the possibility to group differents query
results
Extract it to your static folder then link to it with
URL(r=request,c='static/thefolder',f='multiSelect.js')
On Jun 10, 1:57 pm, Jean Guy wrote:
> I don't remember how I come with this link
> :http://abeautifulsite.net/2008/04/jquery-multiselect/
>
> But it could serve my needs for sometime...
>
Ok. I got this working afterall. I am going to leave it open because I
still have questions regarding it. Like for example, this is what I
did:
db.orden.sellercommision.compute=lambda r:round(float(r['coef1'])-
float(r['coef1'])*float(r['value2']),2)
But what if I needed the db.orden.sellercommi
http://web2py.com/plugins/default/multiselect
On Jun 10, 1:57 pm, Jean Guy wrote:
> I don't remember how I come with this link
> :http://abeautifulsite.net/2008/04/jquery-multiselect/
>
> But it could serve my needs for sometime...
>
> I'm not experienced at all with jquery. I would like to us
None of these should be a problem.
On Jun 10, 1:45 pm, Salvor Hardin wrote:
> We selected web2py over django and pylons to replace RoR. Luckily,
> that project doesn't require paranoid security (hence our ability to
> use RoR in the past.)
>
> But we're evaluating web2py to replace a Win32 GUI i
None of these should be a problem. Mind that you will not be able to
edit/install/uninstall apps using the web interface.
On Jun 10, 1:45 pm, Salvor Hardin wrote:
> We selected web2py over django and pylons to replace RoR. Luckily,
> that project doesn't require paranoid security (hence our abil
You cannot. Perhaps you should use crud.create(,onvalidator=lambda
form:) if you need more complex computations.
On Jun 10, 2:02 pm, greenpoise wrote:
> Ok. I got this working afterall. I am going to leave it open because I
> still have questions regarding it. Like for example, this is w
Another option: http://www.web2pyslices.com/main/slices/take_slice/70
On Jun 10, 2:02 pm, mdipierro wrote:
> http://web2py.com/plugins/default/multiselect
>
> On Jun 10, 1:57 pm, Jean Guy wrote:
>
> > I don't remember how I come with this link
> > :http://abeautifulsite.net/2008/04/jquery-multi
!!!
WoW
On Jun 10, 1:09 am, mdipierro wrote:
> errata.
>
> form=crud.update(db.table,onaccept=crud.archive)
>
> info is here:
>
> http://web2py.com/examples/static/epydoc/web2py.gluon.tools.Crud-clas...
>
> On Jun 9, 11:58 pm, mdipierro wrote:
>
> > Mind that you can also do
>
> > form=crud.upd
If I understand correctly... Both suggestions are using the same jquery
plugin in background, then it just a matter of how it is implemented in
web2py??
Jonhy
Sorry I didn't say hello or sign my last email.
2010/6/10 mr.freeze
> Another option: http://www.web2pyslices.com/main/slices/take_slic
www-data needs write access to databases/cache/sessions etc. IF a
hacker were able to gain access *somehow* and alter the databases
files, they can kill your entire system by forcing fake migrations or
other issues. Just make sure you have migrate=False and
fake_migrate=False and everything *should
Thank you for those suggestions I miss them out when they been posted... [?]
Jonhy
2010/6/10 mdipierro
> errata.
>
> form=crud.update(db.table,onaccept=crud.archive)
>
> info is here:
>
>
> http://web2py.com/examples/static/epydoc/web2py.gluon.tools.Crud-class.html#archive
>
> On Jun 9, 11:5
You need to pay attention to order, but you can always use
variables... For more examples see Massimo's auditing slice at web2py
slices and make sure to check out the comments... you can var out
fields, table headers and probably more stuff as well like auditing
fields...
Here is a working example
will dig into that. THanks
dan
On Jun 10, 3:04 pm, mdipierro wrote:
> You cannot. Perhaps you should use crud.create(,onvalidator=lambda
> form:) if you need more complex computations.
>
> On Jun 10, 2:02 pm, greenpoise wrote:
>
> > Ok. I got this working afterall. I am going to leave
Ou peut-etre quatre?
:)
On Jun 10, 5:33 pm, Magnitus wrote:
> Oui.
>
> Il y en a au moins 3 on dirait.
>
> On Jun 10, 3:47 pm, Jean Guy wrote:
>
> > [?]
>
> > Je demandais s'il y avait des québécois qui développe avec Web2py et qui son
> > inscrit sur cette liste?
>
> > Jean Guy
>
> > 330.gif
yes. I think they work more or less the same.
On Jun 10, 2:38 pm, Jean Guy wrote:
> If I understand correctly... Both suggestions are using the same jquery
> plugin in background, then it just a matter of how it is implemented in
> web2py??
>
> Jonhy
>
> Sorry I didn't say hello or sign my last e
perhaps we should a web2py/scripts/lock-web2py.sh
On Jun 10, 3:49 pm, Thadeus Burgess wrote:
> www-data needs write access to databases/cache/sessions etc. IF a
> hacker were able to gain access *somehow* and alter the databases
> files, they can kill your entire system by forcing fake migrations
bien sur!
Bienvenu!
Chris
On Jun 10, 3:47 pm, Jean Guy wrote:
> [?]
>
> Je demandais s'il y avait des québécois qui développe avec Web2py et qui son
> inscrit sur cette liste?
>
> Jean Guy
>
> 330.gif
> < 1KViewDownload
[?]
Je demandais s'il y avait des québécois qui développe avec Web2py et qui son
inscrit sur cette liste?
Jean Guy
<<330.gif>>
On Jun 10, 3:44 pm, Doug Warren wrote:
> On Thu, Jun 10, 2010 at 10:53 AM, Yarko Tymciurak
>
> wrote:
>
> > More discussion, thoughts?
>
> > (maybe this should move to the web2py developer's thread?)
>
> As my request is still 'pending' I'd ask to keep the discussion here
> so I can contribute.
Why cant my values coef1 and value2 fields be readable=False
writable=False? I want them to be hidden in the form.
On Jun 10, 3:04 pm, mdipierro wrote:
> You cannot. Perhaps you should use crud.create(,onvalidator=lambda
> form:) if you need more complex computations.
>
> On Jun 10, 2:
I would like to know if the idea of conversation would be great thing
for Web2py.
It is an idea coming from Java JBoss Seam
http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/seam/Seam_Reference_Guide/Conversations_and_workspace_management-Seams_conversation_model.html.
The idea is suppor
I read this message on web2py twitter
http://twitter.com/web2py/status/14770795373
"would be nice to have a #screensharing and #videoconferncing app for
@web2py that you could a: add to your app or b: host as facebook app"
"@rockdapus It would be nice indeed :-) If you have any idea on how to
d
Oui.
Il y en a au moins 3 on dirait.
On Jun 10, 3:47 pm, Jean Guy wrote:
> [?]
>
> Je demandais s'il y avait des québécois qui développe avec Web2py et qui son
> inscrit sur cette liste?
>
> Jean Guy
>
> 330.gif
> < 1KViewDownload
On Jun 10, 3:44 pm, Thadeus Burgess wrote:
> This is what I desire from this
>
> Web2py applications to be importable python modules
> Along with [A] your models immediately become python modules that you
> can import. This solves my need to share models between web2py apps.'
>
> Web2py has a Top
No need of changing web2py, running a proxy on server spoofs your IP
(for example Achilles proxy for Windows)
On 10 jun, 15:59, Giuseppe Luca Scrofani wrote:
> Thanks Candid and Massimo for answering, I've tried your suggestion,
> Massimo, and it worked.
> I've replaced (starting from line 12 i
Encore un! Ça n'arrête plus! Une vraie peste! ;-)
We suppose to speak in English...
On 10 juin, 15:47, Jean Guy wrote:
> [?]
>
> Je demandais s'il y avait des québécois qui développe avec Web2py et qui son
> inscrit sur cette liste?
>
> Jean Guy
>
> 330.gif
> < 1 000AfficherTélécharger
On Jun 10, 1:17 pm, mdipierro wrote:
> If we are going to work on this we may as well solve a different
> problem.
>
> Executing models take time. If you have 500 tables each defined it its
> own file, it takes lots of time. Yet not all actions need all tables
> so we may want to implement a depen
On Thu, Jun 10, 2010 at 10:53 AM, Yarko Tymciurak
wrote:
>
> More discussion, thoughts?
>
> (maybe this should move to the web2py developer's thread?)
As my request is still 'pending' I'd ask to keep the discussion here
so I can contribute.
The conclusion is right but it is more complicated than that. This is
not a syntactical issue.
Let' say in a model we have:
db.define_table('a',Field('b',default=request.client))
This code MUST be executed. There is no way to import it because
request.client only exist when the request arri
This is what I desire from this
Web2py applications to be importable python modules
Along with [A] your models immediately become python modules that you
can import. This solves my need to share models between web2py apps.'
Web2py has a Top down approach, where other frameworks use a down-up
appr
I'm sorry I didn't have time to look at the script...
I try to look at it in the near future.
Jonhy
2010/5/22 Alexandre Andrade
> I can adapt it on demand to any database for just $100.
> Obviously it will be returned to community too.
>
> I usualy use only mysql, postresql, sqlite and now mo
Idea:
Theoretically speaking of course if I were to create a virtual
machine loaded with an apache instance and web2py on mod_wsgi. Using
the various methods of *faking* an autonumber field on different
virtual machines, for the sake of scientific research.
Using the apache AB testing upon a
>
> This code MUST be executed. There is no way to import it because
> request.client only exist when the request arrives and we do not want
> to re import modules on every request.
Flask accomplishes this perfectly by placing the request in a context
thread local. It only exists the the thread lo
another possibility is jpolite: http://www.trilancer.com/jpolite2/index1.html
On May 23, 6:16 am, Pepe wrote:
> Hi everybody!
>
> i'm searching ui frameworks for work with web2py.
>
> Here a list that I like to share and please, if you have worked with
> some, post your evaluation or, if you kno
Any idea why I'm getting this error?
[Thu Jun 10 17:59:15 2010] [error] [client 74.76.167.89]
AttributeError: module '/path/to/modpythonhandler.py' contains no
'handler'
[Thu Jun 10 17:59:15 2010] [error] [client 74.76.167.89] Filename: '/
path/to/500.shtml'
[Thu Jun 10 17:59:15 2010] [error] [cl
Here's a collection of widgets I put together in a sample application:
http://web2pyslices.com/main/slices/take_slice/86
If you have the setup, give it a try.
On Jun 10, 6:59 pm, Thadeus Burgess wrote:
> Idea:
>
> Theoretically speaking of course if I were to create a virtual
> machine loaded with an apache instance and web2py on mod_wsgi. Using
> the various methods of *faking* an autonumber field on different
The location of modpythonhandler is not in sys.path
On Jun 10, 8:05 pm, Cory Coager wrote:
> Any idea why I'm getting this error?
>
> [Thu Jun 10 17:59:15 2010] [error] [client 74.76.167.89]
> AttributeError: module '/path/to/modpythonhandler.py' contains no
> 'handler'
> [Thu Jun 10 17:59:15 201
Flask has a clever mechanism that web2py also uses internally in DAL.
It partially addresses the problem:
Consider this example:
http://github.com/mitsuhiko/flask/blob/master/examples/flaskr/flaskr.py
Consider the action "login". request is a global object that acts as a
proxy. Any attribute of
Is it running slow for you or is it just me?
--
Thadeus
On Thu, Jun 10, 2010 at 1:34 PM, mr.freeze wrote:
> We're back! Sorry about the extended downtime. I ended up going with
> FiveBean since their VPS's were more in my price range (promo code
> UBUNTU gives you 50% off!).
> http://fivebea
It's fast for me. The server is in Dallas.
On Jun 10, 9:06 pm, Thadeus Burgess wrote:
> Is it running slow for you or is it just me?
>
> --
> Thadeus
>
> On Thu, Jun 10, 2010 at 1:34 PM, mr.freeze wrote:
> > We're back! Sorry about the extended downtime. I ended up going with
> > FiveBean since
http://www.websitegoodies.com/tools/speed-test.php
URL:http://www.web2pyslices.com/main/default/index
Load Time: 0.4189 seconds
Page Size: 47.16 kb
On Jun 10, 9:08 pm, "mr.freeze" wrote:
> It's fast for me. The server is in Dallas.
>
> On Jun 10, 9:06 pm, Thadeus Burgess wrote:
>
URL:http://web2py.com
Load Time: 0.1642 seconds
Page Size: 14.78 kb
On Jun 10, 9:13 pm, "mr.freeze" wrote:
> http://www.websitegoodies.com/tools/speed-test.php
>
> URL: http://www.web2pyslices.com/main/default/index
> Load Time: 0.4189 seconds
> Page Size: 47.16 kb
>
>
Is web2pyslices fast for you Massimo?
On Jun 10, 9:16 pm, mdipierro wrote:
> URL: http://web2py.com
> Load Time: 0.1642 seconds
> Page Size: 14.78 kb
>
> On Jun 10, 9:13 pm, "mr.freeze" wrote:
>
> >http://www.websitegoodies.com/tools/speed-test.php
>
> > URL: http://www.web2pysli
Massimo's worked on the first try so I went with it!
On Jun 5, 2:05 pm, "mr.freeze" wrote:
> Thanks Thadeus/Massimo. I'll give each a try and let you know what I
> find.
>
> On Jun 5, 12:57 pm, mdipierro wrote:
>
> > Try this...
>
> > import uuid, re
> > subs={}
> > while True:
> > match =
The problem with this is that the, I assume, tha database links the
uploaded filename to the user_id and therefore you need to access the
database to locate the file. That is ok until the database changes and
somebody edits the user_id. Than you can no longer locate the file.
On Jun 10, 7:36 am, w
>From the Flask documentation:
"For example Flask uses thread local objects internally so that you
don’t have to pass objects around from function to function within a
request in order to stay threadsafe. While this is a really easy
approach and saves you a lot of time, it also does not scale well
On Jun 10, 2010, at 10:00 PM, mr.freeze wrote:
> Massimo's worked on the first try so I went with it!
It may have a problem when there are two blocks.
>
> On Jun 5, 2:05 pm, "mr.freeze" wrote:
>> Thanks Thadeus/Massimo. I'll give each a try and let you know what I
>> find.
>>
>> On Jun 5, 12
True.
match = re.compile('<(pre|PRE)(.*)/(pre|
pre)>',re.DOTALL).search(text)
should be
match = re.compile('<(pre|PRE)>(.*?)',re.DOTALL).search(text)
On Jun 10, 11:14 pm, Jonathan Lundell wrote:
> On Jun 10, 2010, at 10:00 PM, mr.freeze wrote:
>
> > Massimo's worked on the first try so I went
This is a false problem.
Flask and web2py are not asynchronous like Tornado. This is not a
problem nor a limitation but a difference in design that determine the
way one program web applications. Scalability and speed have to do
with database bottleneck more than everything else.
About the commen
from the Tornado page "Tornado comes with limited support for WSGI.
However, since WSGI does not support non-blocking requests, you cannot
use any of the asynchronous/non-blocking features of Tornado in your
application if you choose to use WSGI instead of Tornado's HTTP
server."
On Jun 10, 11:33
In trunk. Give it a try.
On Jun 10, 12:54 am, szimszon wrote:
> Patch sent with
> /./ in use where
> self.uploadseparate == 2 :)
>
> On jún. 9, 22:11, mdipierro wrote:
>
> > I suggest a subfolder for every table.field and one for every
> > combinations of the first 2 chars?
> > The simpler the
Thanks for the (quick) clarification.
On Jun 11, 12:33 am, mdipierro wrote:
> This is a false problem.
>
> Flask and web2py are not asynchronous like Tornado. This is not a
> problem nor a limitation but a difference in design that determine the
> way one program web applications. Scalability and
On 10 juin, 19:14, mdipierro wrote:
> Interesting. How do you think this can be implemented?
Well, before thinking about the implementation, we must understand the
concepts involved.
So let's start with the idea of scope. The scope defines the time a
peace of information is kept. Information in
The only issue is that if you have two browser windows open I do not
know of a mechanism to identify from which of the two windows a
request arrives since the cookies are the same.
On Jun 10, 11:39 pm, pierreth wrote:
> On 10 juin, 19:14, mdipierro wrote:
>
> > Interesting. How do you think this
That is where the hidden input field with a custom hash comes into
play I think?
--
Thadeus
On Fri, Jun 11, 2010 at 12:00 AM, mdipierro wrote:
> The only issue is that if you have two browser windows open I do not
> know of a mechanism to identify from which of the two windows a
> reques
yes but people don't just navigate by submitting forms. they also
navigate by clicking links. The only way to keep a conversation would
be to store a token in request.args(0) and keep it there in all links.
Still the conversation is fragile and ends if the user types in a url
without the token.
On
Traceback (most recent call last):
File "/home/thadeusb/sites/thadeusb.com/subdomains/odyssey/wsgihandler.py",
line 27, in
import gluon.main
File "gluon/main.py", line 34, in
from globals import Request, Response, Session
File "gluon/globals.py", line 18, in
from compileapp imp
javascript?
--
Thadeus
On Fri, Jun 11, 2010 at 12:14 AM, mdipierro wrote:
> yes but people don't just navigate by submitting forms. they also
> navigate by clicking links. The only way to keep a conversation would
> be to store a token in request.args(0) and keep it there in all links.
> Sti
1 - 100 of 101 matches
Mail list logo