Before today, I had never set up a reverse proxy. I've seen it
mentioned here as a good deployment option, but I couldn't seem to
find a good, complete example. After screwing around for a while, I
think I've finally got it figured out. Here's my setup in case it
might help someone else.
I
I just started using Elixir (which seems quite nice so far) with
Pylons. I was having a bit of trouble getting things set up, but I
think I've worked out a decent solution, which I just posted over on
the Elixir list. Hopefully it's helpful to someone (or perhaps someone
has a better idea).
[I've tried posting this twice already, and it never showed up. Maybe
it'll work this time, as I just made some other posts that came
through.]
On Feb 10, 9:36 pm, Ben Bangert [EMAIL PROTECTED] wrote:
On Feb 10, 7:31 pm, wyatt-bC [EMAIL PROTECTED] wrote:
map.resources :articles do |article
On Feb 19, 7:12 pm, wyatt-bC [EMAIL PROTECTED] wrote:
...
map.resources :articles do |article|
article.resources :comments
end
...
I'm not sure exactly how you'd translate the Ruby above directly to
Python, but I think it would be cool if Pylons had this feature... and
I'd
Rails 1.2 has a mechanism for nesting RESTful resources:
map.resources :articles do |article|
map.resources :comments
end
This produces routes like...
/articles
/articles/1
/articles/1/comments
/articles/1/comments/1
etc.
I'm not sure exactly how you'd translate the Ruby above directly to
sqad wrote:
Anyone able to use google maps on their pylons-run website when testing
on the localhost?
i think my development.ini is setup right. When I load the page, it
always keeps complaining about the key
I registered with http://127.0.0.1:5000/wiki
[snippet for development-ini]
host =
Michael G. Noll wrote:
I'm about to upgrade to 0.9.3. Thanks for all the hard work, guys!
I upgraded yesterday. No changes, no problems.
I concur: thanks.
__wyatt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I was all excited about upgrading, but pylonshq has been down for a
while now (it's been about an hour since I first noticed).
__wyatt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
One nice feature of Rails partials is that you can pass a collection to
the render call, like so:
%= render :partial = page, :collection = @pages %
Which might be roughly equivalent to this in Myghty:
_page.myt, collection=pages
IF you could pass a collection to the partial call. Instead,
ToddG wrote:
'render_response' is in fact a convenience method; I think you'll need
to use the long way to do it; here's the lineup of usual suspects
(hopefully someone can verify they're all up to date):
Last weekend I played with Ruby on Rails because I was looking at a RoR
job. Nice framework (but no match for Pylons in the end ;-)).
One cool feature (with a cool title) is what they call rendering a
partial, which is just pulling out some chunk of HTML that you might
want to reuse, sticking it
Ben Bangert wrote:
On Oct 3, 2006, at 5:39 PM, wyatt-bC wrote:
I'm trying to use the resource method like this to create some Web
services:
m.resource(
'address',
controller='address',
path_prefix='/:region',
name_prefix='region_
wyatt-bC wrote:
Ben Bangert wrote:
On Oct 3, 2006, at 5:39 PM, wyatt-bC wrote:
I'm trying to use the resource method like this to create some Web
services:
m.resource(
'address',
controller='address',
path_prefix='/:region
I'm trying to use the resource method like this to create some Web
services:
m.resource(
'address',
controller='address',
path_prefix='/:region',
name_prefix='region_'
)
I'm following this example from the Routes manual of using path_prefix
and
James Gardner wrote:
How about I re-write the new QuickWiki to use explicit sessions and
write a QuickWiki Part II which goes on to discuss the following:
* Using FormBuild to build forms
* Using FormEncode to validate data
* Using AuthKit to allow only certain users to edit/delete pages
*
15 matches
Mail list logo