Re: [commits] Horde-Hatchery branch master updated. 1a57ad3e16e1a3e92b0f087ba1765c9089c48577

View: New views
6 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [commits] Horde-Hatchery branch master updated. 1a57ad3e16e1a3e92b0f087ba1765c9089c48577

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Michael M Slusarz <slusarz@...>:

> The branch "master" has been updated.
> The following is a summary of the commits.
>
> from: 94553bd518124a2f1d9347f618077e313b1dcb5c
>
> d90ce60... Fix adding phishing status info
> 5229eff... This style has been moved inside the HTML viewer.
> 1a57ad3... Correctly show phishing highlighting when viewing inline

We should rather move HTML/CSS code *out* of the PHP libraries, rather  
than adding more. I understand the rationale, but this is really not  
the direction we should take.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@...

Re: [commits] Horde-Hatchery branch master updated. 1a57ad3e16e1a3e92b0f087ba1765c9089c48577

by Chuck Hagenbuch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Jan Schneider <jan@...>:

> Zitat von Michael M Slusarz <slusarz@...>:
>
>> The branch "master" has been updated.
>> The following is a summary of the commits.
>>
>> from: 94553bd518124a2f1d9347f618077e313b1dcb5c
>>
>> d90ce60... Fix adding phishing status info
>> 5229eff... This style has been moved inside the HTML viewer.
>> 1a57ad3... Correctly show phishing highlighting when viewing inline
>
> We should rather move HTML/CSS code *out* of the PHP libraries,  
> rather than adding more. I understand the rationale, but this is  
> really not the direction we should take.

I strongly agree, though I think there is probably a place for  
packages to come with some default views (which could be overridden of  
course). That way we get HTML out of the classes, but we can still  
bundle re-useable UI bits. I'm happy to help move these things to View  
partials.

-chuck

--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@...

Re: [commits] Horde-Hatchery branch master updated. 1a57ad3e16e1a3e92b0f087ba1765c9089c48577

by Michael M Slusarz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Chuck Hagenbuch <chuck@...>:

> Quoting Jan Schneider <jan@...>:
>
>> Zitat von Michael M Slusarz <slusarz@...>:
>>
>>> The branch "master" has been updated.
>>> The following is a summary of the commits.
>>>
>>> from: 94553bd518124a2f1d9347f618077e313b1dcb5c
>>>
>>> d90ce60... Fix adding phishing status info
>>> 5229eff... This style has been moved inside the HTML viewer.
>>> 1a57ad3... Correctly show phishing highlighting when viewing inline
>>
>> We should rather move HTML/CSS code *out* of the PHP libraries,  
>> rather than adding more. I understand the rationale, but this is  
>> really not the direction we should take.
>
> I strongly agree, though I think there is probably a place for  
> packages to come with some default views (which could be overridden  
> of course). That way we get HTML out of the classes, but we can  
> still bundle re-useable UI bits. I'm happy to help move these things  
> to View partials.

This is a special case.  Or else, we have to inject our entire CSS  
into the IFRAME.  And not having our CSS visible to the HTML data is  
sort of the whole reason why we are using an IFRAME.

michael

--
___________________________________
Michael Slusarz [slusarz@...]


--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@...

Re: [commits] Horde-Hatchery branch master updated. 1a57ad3e16e1a3e92b0f087ba1765c9089c48577

by Chuck Hagenbuch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Michael M Slusarz <slusarz@...>:

>> Quoting Jan Schneider <jan@...>:
>>
>>> Zitat von Michael M Slusarz <slusarz@...>:
>>>
>>>> The branch "master" has been updated.
>>>> The following is a summary of the commits.
>>>>
>>>> from: 94553bd518124a2f1d9347f618077e313b1dcb5c
>>>>
>>>> d90ce60... Fix adding phishing status info
>>>> 5229eff... This style has been moved inside the HTML viewer.
>>>> 1a57ad3... Correctly show phishing highlighting when viewing inline
>>>
>>> We should rather move HTML/CSS code *out* of the PHP libraries,  
>>> rather than adding more. I understand the rationale, but this is  
>>> really not the direction we should take.
>>
>> I strongly agree, though I think there is probably a place for  
>> packages to come with some default views (which could be overridden  
>> of course). That way we get HTML out of the classes, but we can  
>> still bundle re-useable UI bits. I'm happy to help move these  
>> things to View partials.
>
> This is a special case.  Or else, we have to inject our entire CSS  
> into the IFRAME.  And not having our CSS visible to the HTML data is  
> sort of the whole reason why we are using an IFRAME.

Right, but why not provide the HTML and CSS in a template that users  
of the library can override?

-chuck

--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@...

Re: [commits] Horde-Hatchery branch master updated. 1a57ad3e16e1a3e92b0f087ba1765c9089c48577

by Michael M Slusarz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Chuck Hagenbuch <chuck@...>:

> Quoting Michael M Slusarz <slusarz@...>:
>
>>> Quoting Jan Schneider <jan@...>:
>>>
>>>> Zitat von Michael M Slusarz <slusarz@...>:
>>>>
>>>>> The branch "master" has been updated.
>>>>> The following is a summary of the commits.
>>>>>
>>>>> from: 94553bd518124a2f1d9347f618077e313b1dcb5c
>>>>>
>>>>> d90ce60... Fix adding phishing status info
>>>>> 5229eff... This style has been moved inside the HTML viewer.
>>>>> 1a57ad3... Correctly show phishing highlighting when viewing inline
>>>>
>>>> We should rather move HTML/CSS code *out* of the PHP libraries,  
>>>> rather than adding more. I understand the rationale, but this is  
>>>> really not the direction we should take.
>>>
>>> I strongly agree, though I think there is probably a place for  
>>> packages to come with some default views (which could be  
>>> overridden of course). That way we get HTML out of the classes,  
>>> but we can still bundle re-useable UI bits. I'm happy to help move  
>>> these things to View partials.
>>
>> This is a special case.  Or else, we have to inject our entire CSS  
>> into the IFRAME.  And not having our CSS visible to the HTML data  
>> is sort of the whole reason why we are using an IFRAME.
>
> Right, but why not provide the HTML and CSS in a template that users  
> of the library can override?

Guess I am really confused.  For the HTML driver, what HTML is there  
to override outside of the IFRAME declaration (which *can't* be  
overriden, and is exactly the sort of item that shouldn't be in a  
template)?

And as mentioned before, we can't introduce any CSS classes to the  
HTML data because there is no guarantee that these declarations won't  
conflict with existing class/ID names in the HTML data.  And how would  
we convert user specified CSS into a valid style string?  Via a CSS  
parser or some other resource-intensive task?  No, thank you.

Maybe doing some sort of view abstraction makes sense for other  
drivers, but not for the new HTML driver.

michael

--
___________________________________
Michael Slusarz [slusarz@...]


--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@...

Re: [commits] Horde-Hatchery branch master updated. 1a57ad3e16e1a3e92b0f087ba1765c9089c48577

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Michael M Slusarz <slusarz@...>:

> Quoting Chuck Hagenbuch <chuck@...>:
>
>> Quoting Michael M Slusarz <slusarz@...>:
>>
>>>> Quoting Jan Schneider <jan@...>:
>>>>
>>>>> Zitat von Michael M Slusarz <slusarz@...>:
>>>>>
>>>>>> The branch "master" has been updated.
>>>>>> The following is a summary of the commits.
>>>>>>
>>>>>> from: 94553bd518124a2f1d9347f618077e313b1dcb5c
>>>>>>
>>>>>> d90ce60... Fix adding phishing status info
>>>>>> 5229eff... This style has been moved inside the HTML viewer.
>>>>>> 1a57ad3... Correctly show phishing highlighting when viewing inline
>>>>>
>>>>> We should rather move HTML/CSS code *out* of the PHP libraries,  
>>>>> rather than adding more. I understand the rationale, but this is  
>>>>> really not the direction we should take.
>>>>
>>>> I strongly agree, though I think there is probably a place for  
>>>> packages to come with some default views (which could be  
>>>> overridden of course). That way we get HTML out of the classes,  
>>>> but we can still bundle re-useable UI bits. I'm happy to help  
>>>> move these things to View partials.
>>>
>>> This is a special case.  Or else, we have to inject our entire CSS  
>>> into the IFRAME.  And not having our CSS visible to the HTML data  
>>> is sort of the whole reason why we are using an IFRAME.
>>
>> Right, but why not provide the HTML and CSS in a template that  
>> users of the library can override?
>
> Guess I am really confused.  For the HTML driver, what HTML is there  
> to override outside of the IFRAME declaration (which *can't* be  
> overriden, and is exactly the sort of item that shouldn't be in a  
> template)?
>
> And as mentioned before, we can't introduce any CSS classes to the  
> HTML data because there is no guarantee that these declarations  
> won't conflict with existing class/ID names in the HTML data.  And  
> how would we convert user specified CSS into a valid style string?  
> Via a CSS parser or some other resource-intensive task?  No, thank  
> you.

Yeah, makes sense.

> Maybe doing some sort of view abstraction makes sense for other  
> drivers, but not for the new HTML driver.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@...