作业帮 > 英语 > 作业

英语翻译Curiously,the first tutorial that programmers follow whe

来源:学生作业帮 编辑:大师作文网作业帮 分类:英语作业 时间:2024/11/12 23:04:34
英语翻译
Curiously,the first tutorial that programmers follow when learning a new language or a framework is the one that displays "Hello,world!" on the screen.It is strange to think of the computer as something that can greet the whole world,since every attempt in the artificial intelligence field has so far resulted in poor conversational abilities.But symfony isn't dumber than any other program,and the proof is,you can create a page that says "Hello," with it.
This chapter will teach you how to create a module,which is a structural element that groups pages.You will also learn how to create a page,which is divided into an action and a template,because of the MVC pattern.Links and forms are the basic web interactions; you will see how to insert them in a template and handle them in an action.
Creating a Module Skeleton
As Chapter 2 explained,symfony groups pages into modules.Before creating a page,you need to create a module,which is initially an empty shell with a file structure that symfony can recognize.
The symfony command line automates the creation of modules.You just need to call the generate:module task with the application name and the module name as arguments.In the previous chapter,you created a frontend application.To add a content module to this application,type the following commands:
Apart from the actions/,and templates/ directories,this command created only three files.The one in the test/ folder concerns functional tests,and you don't need to bother with it until Chapter 15.The actions.class.php (shown in Listing 4-1) forwards to the default module congratulation page.The templates/indexSuccess.php file is empty.
这是一部分
这是那个网站
我不懂英文公司却让我翻译这个,我想要是属于难的就推辞掉,属于简单的就想办法.
英语翻译Curiously,the first tutorial that programmers follow whe
这应该是一个计算机方面的教程,教程目的是让人易于理解,所以语言方面不难,但是有些词的意思得按相关专业的术语来翻译,否则就容易闹笑话.