I have the core apps from Clay 1 working in Clay 2. I have some cleaning to do and some restructuring, but they are functional. The code looks different, easier to read and less spaghetti. The new file structure definitely cuts down on the learning curve as well. You also have more obvious control, whereas it was more cloaked by default behaviors before. For instance, every template is identified explicitly in each app component, while Clay 1 would allow you to specify the template. Also the object has control over output, whereas before it was from a return value. This allows you to use things like event or data-centric driven apps and is a quite different from traditional PHP applications. So far all of this has led to improved performance and fewer stack dependencies.
Log in to comment