开发者

AI template needs to be added to cakePHP framework

开发者 https://www.devze.com 2022-12-19 22:21 出处:网络
I have an AI template that was designed for this page but not sure if i need a开发者_StackOverflow中文版 front end person or a back end person to make the bridge from design to an actual live page usi

I have an AI template that was designed for this page but not sure if i need a开发者_StackOverflow中文版 front end person or a back end person to make the bridge from design to an actual live page using the cake framework... i know there is some documentation on templates using cake, do we slice it up normally and then just add the content to the framework?


CakePHP, like may other web frameworks, has a template system that divided into a few sections (find out more at the Cake Manual's View page):

  • Layouts: These are templates that makeup the basic layout of the page.
  • View Templates: These templates (usually) match a specific action that is taken in the MVC design pattern. For example there may be a view for editing a blog post, and for displaying a blog post. These View templates are injected into a specific section of the Layout template.
  • Elements & Helpers: Reusable templates that are injected into View templates, or specific sections of the Layout template. An 'author' template may be inserted into an article View template, or a login box may be displayed in a section of the Layout template.

I'll admit that I don't do much with CakePHP, but these concepts are similar across many frameworks.

do we slice it up normally and then just add the content to the framework

When slicing you'll need to keep the different kinds of templates in mind. Slice up the common elements into a Layout Template. Slice up the action specific portions into small View Templates designed to be inserted into the Layout Template. Slice common dynamic elements into Helper/Element Templates.

not sure if i need a front end person or a back end person to make the bridge from design to an actual live page using the cake framework

Someone with front end experience will be able to create the templates, but you'll need someone with backend experience to create the Controllers (the code that does whatever it is your site does) and tie everything together.


What Tim says, and: You basically have two steps here. One is converting the AI document into good, wisely built HTML. This is most likely a task for a web/interface designer who does not necessarily know Cake.

Then you need somebody to make that HTML structure into a Cake template. This is most likely a task for a programmer who knows Cake, but is not necessarily a full-blown web/interface designer.

The web designer and the cake template maker can be the same person; Anyway, they should be in close contact. The Cake person will have input for the HTML person that will influence the work from the start.

0

精彩评论

暂无评论...
验证码 换一张
取 消