Tags: fidcn/xhp-lib
Tags
Render/process everythign recursively - turn XHP tree into an async tree - all tests pass, including tests added that failed against previous PR - every element renders itself and it's children - all child rendering is async - so, the XHP tree becomes a corresponding async tree This means that asyncRender() at different depths in the tree can be executing simultaneously. There shouldn't be much of a performance cost, as HHVM should convert things things to a StaticWaitHandle when XHPAsync isn't being used. fixes hhvm#136 fixes hhvm#85 fixes hhvm#139
Automatically call transferAttributes as needed. - split out XHPBaseHTMLHelpers to just implement the ID and class helpers without transferAttributes - added tests - XHPHelpers should probably be renamed to XHPHTMLHelpers in XHP-Lib 3, and the bulk of the transfer/copyattribtues functiontionality split to XHPTransferAttributes or something like that. Keeping like this for now to reduce BC breakage - Allows implementation of non-HTML helpers; until the above modification happens this will involve copypasta, but better than the current situation. - I /think/ this gets rid of the render()/compose() pattern. fixes hhvm#130 closes hhvm#133
PreviousNext