Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion <title>s and other non-component data
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Yariv Sadan  
View profile  
 More options Nov 24 2007, 12:36 am
From: "Yariv Sadan" <yarivsa...@gmail.com>
Date: Fri, 23 Nov 2007 21:36:20 -0800
Local: Sat, Nov 24 2007 12:36 am
Subject: Re: [erlyweb-list] Re: <title>s and other non-component data
Hi,

I took a few days off for Thanksgiving and now I'm back to working on ErlyWeb.

As I went back to working one the phased_vars feature, it occurred to
me that it would probably be cleaner to include them as an element of
the existing 'response' list rather than in a special return value.
So, instead of returning

{with_phased_vars,
  [{title, "foo"},
   {meta, "bar"}],
 {ewc, navbar, [A]}}

you would return

{response,
  [{phased_vars,
      [{title, "foo"},
      {meta, "bar"}],
   {body, {ewc, navbar, [A]}}]}.

The 'response' tuple already lets you return values that aren't passed
to the view function. I think we should reuse it.

What do you think?

Yariv

On Nov 17, 2007 6:35 PM, David King <dk...@ketralnis.com> wrote:

> > Yeah, I agree. I think 'with_properties' and 'set_properties' sounds
> > too generic, though. Maybe 'with_meta_vals' or 'with_phased_vals'?

> I like with_phased_vals, that's relatively clear


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.