On Thu, Jun 11, 2015 at 9:28 AM, Dhanuka De Silva <[email protected]> wrote:

> IMHO;
>
> 1. Application Name can be a unique name inside a single tenant space
>
> 2. About the key, we should not let user bother about the key input and it
> should be handled invisible to the user. We anyway let them map their app
> to a friendly URL so does it make sense to worry about URL readability ?
>

The URL mapping happens only for the production environment. But other than
that the user will see URLs for the below:

   1.  Deployed app in Dev stage -
   https://appserver.dev.appfactory.private.wso2.com:9443/t/tenant1.com/webapps/
   *maniapp1*-default-SNAPSHOT/
   2. Deployed app in Test stage -
   
https://appserver.test.appfactory.private.wso2.com:9443/t/tenant1.com/webapps/
   *maniapp1*-default-SNAPSHOT/
   3. GIT repo URL etc. - https://git.cloud.wso2.com/git/bizorg/*maniapp1*
   .git

I too like the idea of not showing the app key to user, because even now,
the user does not do much when giving app key as an input. (usually users
let it be the same value as generated automatically without changing it)
But the confusion will happen when the user starts seeing the above URLs
with some app key string which he will think, "from where did this piece of
string come? I did not enter it, did I?"

If we are hiding the app key from UI, and since we need to avoid such a
confusion, should we show them the auto generated app key somewhere in the
UI, after the app creation happens?

Thanks
Manisha



> Just wanted to clarify.
>
> Cheers
>
> On Wed, Jun 10, 2015 at 8:29 PM, <[email protected]> wrote:
>
>>  Hi
>> We need to keep in mind that application key is used in the urls. So I
>> don’t like the idea of making it a timestamp kind of thing. It should be in
>> readable IMO.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> *From:* Punnadi Gunarathna <[email protected]>
>> *Sent:* ‎Wednesday‎, ‎June‎ ‎10‎, ‎2015 ‎6‎:‎59‎ ‎PM
>> *To:* Hasitha Weerasinghe <[email protected]>
>> *Cc:* WSO2 Developers' List <[email protected]>
>>
>>
>>
>> On Wed, Jun 10, 2015 at 5:57 PM, Hasitha Weerasinghe <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> In the current UI when we are creating a new application , it will
>>> validate the application name and application key to be unique. In the new
>>> UI given by UX team, there is no application key input field.
>>> As they have suggested, application key can be generated with timestamps
>>> in any appropriate place but the application name should not be unique.
>>> Hence,
>>>
>>> 1) Is good to hide the application key from the UI. If so, In which
>>> place we should generate application key ?
>>>
>> If we are going to hide the application key, then we have to make sure
>> that the key is unique, or else it has to be validated for it's uniqueness
>> underline. IMO we can generate the appkey just before submitting the
>> application creation.
>>
>>>
>>> 2) Do we need to validate the application name ?
>>>
>> If we don't validate application name, same user can create multiple
>> applications with simillar name (ideally we expect users won't do that),
>> which will make it hard to differentiate the application from first sight
>> in User Home.
>>
>>>
>>>
>>> Thanks,
>>> HasithaT
>>>
>>>
>>> --
>>> *Hasitha Weerasinghe*
>>> *Software Engineer Intern - WSO2 <http://wso2.com/> *
>>> Mobile : +94 776 33 6626
>>> Email  :  [email protected]
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Punnadi Gunarathna
>> Senior Software Engineer,
>> WSO2, Inc.; http://wso2.com <http://wso2>
>> Blog: http://hi-my-world.blogspot.com/
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>>
>>  <http://lalajisureshika.blogspot.com/>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dhanuka De Silva
> m: +94 773 887816
> e: [email protected]
> w: http://www.wso2.com
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
~Regards
*Manisha Eleperuma*
Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*blog:      http://manisha-eleperuma.blogspot.com/
<http://manisha-eleperuma.blogspot.com/>*
*mobile:  +94 71 8279777*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to