Hi Devs,

 I am in the process of implementing the changes suggested. Since we are
going to have WeblogThemeAssoc which will be responsible to keep the
association between themes and corresponding weblog.

Since now we will be having different types of Themes (earlier custom or
shared)  such as  Standard.custom , Mobile.Shared ,etc. it is not
appropriate to have a special Editor theme for a weblog which has the
assumption there will be one type of (standard) themes in Roller.

So with the above changes suggested a weblog will be having Themes of
Different types (mobile ,standard etc.) But that typed Theme should be
either Shared or Custom in a given instance.Therefore for a weblog we can
get the theme by giving type.

Method would be like,
 getThemeAssc(Weblog weblog , String type) ;
which will return the ThemeAssc of type X which includes Theme and Its
Status (custom or not).

I would like to have some feedback if i am not correct in this.

Thanks

On Sat, Jul 9, 2011 at 9:26 PM, shelan Perera <[email protected]> wrote:

> Hi,
>
> On Sat, Jul 9, 2011 at 9:21 PM, Anil Gangolli <[email protected]> wrote:
>
>>
>> Thanks.  This is good.   Does the device registry list a regexp to match
>> against the User-Agent?  (It probably should, and ordering of the registry
>> would then be important.)
>>
>> Yes it is using regexp match. I am using the repository from here [1] to
> build up the repository.
>
> [1] http://detectmobilebrowser.com/
>
> Thanks
>
>
>>
>> On 07/08/2011 08:48 PM, shelan Perera wrote:
>>
>>> Hi Anil,
>>>
>>>
>>> On Sat, Jul 9, 2011 at 7:31 AM, Anil Gangolli<[email protected]>
>>>  wrote:
>>>
>>>
>>>> I do like the idea of generalizing so that it isn't "standard" vs.
>>>> "mobile"
>>>> but type-based.   I'm still confused about how a given request is
>>>> supposed
>>>> to be associated with a given theme type.   Is it some form of
>>>> auto-detection, or the request comes in on a different URL for mobile?
>>>> Will this be pluggable?
>>>>
>>>>
>>>>  We use request header user-agent to identify the request whether it is
>>> coming from a mobile or a standard device. (We have a device repository
>>> maintained to match against).And the we render mobile or templates
>>> accordingly.So in page , Search ,Feed servlets etc. logically render the
>>> correct template.There is no change in the url but when you view in a
>>> device
>>> it will auto detect.
>>>
>>> Thanks
>>>
>>>  --a.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 7/8/2011 1:38 PM, Dave wrote:
>>>>
>>>>  Since the mid-term eval is coming up, I did an in-depth review of the
>>>>> Roller Mobile design and ongoing implementation.
>>>>>
>>>>>    
>>>>> https://cwiki.apache.org/****confluence/x/VYWoAQ<https://cwiki.apache.org/**confluence/x/VYWoAQ>
>>>>> <https://**cwiki.apache.org/confluence/x/**VYWoAQ<https://cwiki.apache.org/confluence/x/VYWoAQ>
>>>>> >
>>>>>
>>>>>
>>>>> I hope to have a patch this weekend that adds the two new tables and
>>>>> objects that I am recommending in the design.
>>>>>
>>>>> Thanks,
>>>>> - Dave
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> Shelan Perera
>
> Home: http://www.shelan.org
> Blog   : http://www.shelanlk.com
> Twitter: shelan
> skype  :shelan.perera
> gtalk   :shelanrc
>
>  I am the master of my fate:
>  I am the captain of my soul.
>          *invictus*
>
>
>
>
>
>
>
>


-- 
Shelan Perera

Home: http://www.shelan.org
Blog   : http://www.shelanlk.com
Twitter: shelan
skype  :shelan.perera
gtalk   :shelanrc

 I am the master of my fate:
 I am the captain of my soul.
         *invictus*

Reply via email to