Having done some speed reading on REST, there seem to be a few primary
features:
- it is about identifying resources
- a uri identifies a resource type, e.g. "orders" (99.9% of examples
use the plural of the resource type), like http://example.com/orders
- a uri may optionally identify a specific
I am having problems with my implementation of a CAS login. When I
first login the login page is returned instead of the target page, the
flash tells me I am logged in. Because I am logged in I can manually
navigate to the target page by adding the function name to the URL.
When I log out and logi
Having done some speed reading on REST, there seem to be a few primary
features:
- it is about identifying resources
- a uri identifies a resource type, e.g. "orders" (99.9% of examples
use the plural of the resource type), like http://example.com/orders
- a uri may optionally identify a specific
On Oct 22, 10:47 am, annet <[EMAIL PROTECTED]> wrote:
> I am having problems with my implementation of a CAS login. When I
> first login the login page is returned instead of the target page, the
> flash tells me I am logged in. Because I am logged in I can manually
> navigate to the target page b
You raise some good issues. T2 itself does not follow rest because t2
does not expose any action.
But by figuring out which record you want from the path_info it allows
you to code actions that follow (at least partially) rest.
Massimo
On Oct 22, 5:04 am, billf <[EMAIL PROTECTED]> wrote:
> Havin
where did you download cas from? this was a problem in an older
version.
Massimo
On Oct 22, 4:47 am, annet <[EMAIL PROTECTED]> wrote:
> I am having problems with my implementation of a CAS login. When I
> first login the login page is returned instead of the target page, the
> flash tells me I a
Have you read this?
http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
By architectural styles, we are talking about tradeoffs between
representational state transfer, security, and other concerns not about
sticking to one precise descriptor of a style as "a must"...
I think as long
what if this column in the pre-existing table is called 'user_id' or
'item_id'?
On Oct 21, 12:15 pm, "Yarko T" <[EMAIL PROTECTED]> wrote:
> One more thing: each table in your existing database schema must have a
> unique, auto-incrementing field called "id". If your database does not
> fo
then web2py will not be able to manage that database using DAL - you _can_
execute SQL directly using web2py's executesql() call, but...
If you do not want to change your database, but want to be able to work with
it, if your database server provides "views", you can use this method to
re-name "us
Massimo,
I downloaded CAS from the free web2py appliances section of your site,
about three weeks ago.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send
In the web2py manual, on page 137, I read: "the value of migrate is
the filename where web2py stores internal migration information for
this table" and (on page 138) "the best practice is to give an
explicit name to the migrate table". I did not provide a value for
migrate, hence my files have nam
Hi Massimo,
I'm bit confused, just tried it under firefox 3 and ie 7 and it generates
same code from examples that i put on
can you try generate web2py schema from web2pydesigner example
Sorry for slow answer but i'm not currently in country and i'm not having
network at room only at lobby :(
You can rename a file as long as the migrate= points to the new name
and you do call any action in the applicaiton while you perform this
change.
On Oct 22, 10:11 am, annet <[EMAIL PROTECTED]> wrote:
> In the web2py manual, on page 137, I read: "the value of migrate is
> the filename where web2py
You are correct! I had tried camino and does not let me change the
values of selectboxes. I now tried with firefox and it works. Thank
you!.
Massimo
On Oct 22, 9:35 am, "Boris Manojlovic" <[EMAIL PROTECTED]>
wrote:
> Hi Massimo,
>
> I'm bit confused, just tried it under firefox 3 and ie 7 and it
Massimo,
Thanks, I didn't encounter any problems renaming the files.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
Ugh, I have an issue.
It has come to my attention that the URL validation does not conform to
RFC1738 (section 2.2 is the most relevant). This is fine for the
schema://host/application/controller/function part of the URL, but it
causes problems in such circumstances that I ran into today. Her
A similar discussion happened shortly after I started using web2py. If you
read through this thread you can see the discussion that Massimo and I had
on the topic. You probably want to jump down to around message 13 in the
thread.
http://groups.google.com/group/web2py/browse_frm/thread/414723e11c9
Thanks for your input, but this is not about the IS_URL validator. This
is about web2py utterly rejecting any request that has and apostrophe
(or other RFC-valid punctuation) in the middle of the path.
-tim
Kyle Smith wrote:
> A similar discussion happened shortly after I started using web2py.
mmm the main idea of REST is to start black boxing functionality.
Which is kinda great but has down sides of performance (as noted in the url
that Yarko tendered)
The theoretical world does need to be tempered with practical applications
often.
As in RoR convention over configuration is a maj
You are absolutely correct that it's not the same discussion. I was just
trying to point you to previous conversation about url validation in general
since it is a similar topic.
Kyle
On Wed, Oct 22, 2008 at 1:50 PM, Timothy Farrell <[EMAIL PROTECTED]> wrote:
> Thanks for your input, but this i
Steve
I think your 2 cents are excellent.
To be honest, my experience of REST is zero but from Massimo's comment
and a little reading I think it is an interesting goal to pursue, if
it does not have any significant downside, and your comments on design
assumptions and feedback are right on the m
Thanks Bill
I also wonder if rest has some roots in SEO as I know from previous work I
have done with search engine optimisation that slashes are a lot better than
& or $ for traversing.
Google has overcome this but Yahoo, MSN and a whole host of smaller search
engines just do not traverse non slas
Hi,
Yarko and I and whoever wants to help are working on a registration
app for PyCon2009. Although we are not planning to run it on GAE we
have a copy running on GAE:
http://web2py.appspot.com/web2conf
We could use some testings.
The sourse is on launchpad (web2conf). Requires the latest plug
I have a new gripe with the web interface of web2py. I lost a
measurable amount of work while editing a db schema tonight. I had
the editor up on db.py when I was interrupted. A couple of hours
later I returned to the editor and put in about 20 minutes of
concentrated effort. When I pressed th
24 matches
Mail list logo