[Solar-talk] Isn't 'submit' a bad name for form fields?
Paul M Jones
pmjones at ciaweb.net
Fri Jan 5 12:22:55 PST 2007
On Jan 5, 2007, at 2:20 PM, Paul M Jones wrote:
>
> On Jan 5, 2007, at 2:16 PM, Paul M Jones wrote:
>
>>
>> On Jan 5, 2007, at 1:43 PM, Clay Loveless wrote:
>>
>>>
>>> On Jan 5, 2007, at 11:31 AM, Rodrigo Moraes wrote:
>>>
>>>> Honestly, I think a more clear name like 'submit-event' would be
>>>> better to follow this idea, and perhaps it would also fit better
>>>> other
>>>> Solar names.
>>>
>>> Good point -- I like 'submit-event'. What do you think, Paul?
>>
>> I'd prefer a single word if possible. Also, the word "event" has
>> some JavaScript-specific connotations, even though it's not a keyword
>> (proper) in JS; it refers to the "onClick", "onLoad", et al. events.
>>
>> I'm thinking the new word should fit into the current progression,
>> like this:
>>
>> 1. Controller
>> 2. Action
>> 3. (? submit ?)
>>
>> From old habit, I have often used the word "op" (short for
>> "operation") but I'd prefer a short, whole word if we can find one.
>>
>> Other thoughts?
>
> * proc(ess)
>
> * op(eration)
>
> * case
>
> ... ?
Sorry to flood the list ... maybe using an underscore prefix is a
good way around this, a la "_submit". Are there HTML or JS naming
conventions I'm not aware of that this would conflict with?
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Join the Solar community wiki! <http://solarphp.org>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list