Начинаем работать с Лифтом | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- 99% translated in draft. Almost done, let's finish it!
If you do not want to register an account, you can sign in with OpenID.
Starting with Lift | ||
Contents | ||
1 Welcome to Lift! | ||
1.1 Why Lift? | ||
1.2 For more information | ||
1.3 Your first Lift application | ||
2 Basic Lift | ||
2.1 What we’re going to cover | ||
2.2 Creating a new project | ||
2.3 Adding a model | ||
2.4 Boot and Schemifier | ||
2.5 Snippets: Bridging View and Logic | ||
2.6 Lift’s “View First” design | ||
2.7 Updating the ToDo view | ||
2.8 Seeing if the snippet works | ||
2.9 Creating a to-do item | ||
2.10 Updating the priority and desc fields | ||
2.11 Hooking up the view to the form | ||
2.12 Trying it out again | ||
2.13 Display and Editting to-do items | 2.13 Вывод на экран и редактирование элементов todo | |
1 Welcome to Lift! | ||
Lift is designed to make powerful techniques easily accessible, while keeping the overall framework simple and flexible. It may sound like a cliché, but in our experience Lift makes it fun to develop because it lets you focus on the interesting parts of coding. Our goal for this book is that by the end, you’ll be able to create and extend any web application you can think of. | Лифт разработан, чтобы сделать мощные методы легко доступными, сохраняя при этом фреймворк в целом простым и гибким. Это звучит как клише, но по нашему опыту Лифт делает разработку веселой, поскольку он позволяет вам сконцентрироваться на интересных частях кода. Цель этой книги в том, чтобы вы смогли создать и расширить любое веб-приложение о котором вы можете подумать. | |
1.1 Why Lift? | — все-таки лучше в русском тексте использовать русские буквы, если есть такая возможность. Я считаю, что здесь - есть — achepkunov | |
For those of you have experience with other web frameworks such as Struts, Tapestry, Rails, et cetera, you must be asking yourself "Why another framework? Does Lift really solve problems any differently or more effectively than the ones I’ve used before?" Based on our experience (and of others in the growing Lift community), the answer is an emphatic "Yes!" Lift has cherry-picked the best ideas from a number of other frameworks, while creating some novel ideas of its own. It’s this combination of solid foundation and new techniques that makes Lift so powerful. At the same time, Lift has been able to avoid the mistakes made in the past by other frameworks. In the spirit of “configuration by convention”, Lift has sensible defaults for everything, while making it easy to customize precisely what you need to; no more and no less. Gone are the days of XML file after XML file providing basic configuration for your application. Instead, a basic Lift app only requires that you add the LiftFilter to your web.xml and add one or more lines telling Lift what package your classes sit in. The methods you code aren’t required to implement a specific interface (called a trait), although there are support traits that make things that much simpler. In short, you don’t need to write anything that isn’t explicitly necessary for the task at hand; Lift is intended to work out of the box, and to make you as efficient and productive as possible. | Те из вас, у кого есть опыт работы с другими веб-фреймворками, такими как Struts, Tapestry, Rails, и так далее, должны спрашивать себя: "Почему другой фреймворк? Действительно ли Лифт решает проблемы по-другому, и эффективнее тех фреймворков, которые я уже использовали раньше?" Основываясь на нашем опыте (и других в растущем Лифт-сообществе), ответ - решительное "Да!" Лифт снял сливки из лучших идей ряда других фреймворков, попутно созданию нескольких новых, своих собственных идей. Именно это сочетание твердой основы и новых методов, делает Лифт таким мощным. В то же время, в Лифт удалось избежать ошибок, допущенных в прошлом другими фреймворками. В духе "конфигурации по соглашению", Лифт имеет разумные значения по умолчанию на все, делая его легко настраиваемым на то, что именно Вам нужно, не больше и не меньше. Прошли времена, файлов XML, базовой конфигурации для вашего приложения после предоставления XML-файла. Вместо этого, основное приложение на Лифте лишь требует, чтобы вы добавили LiftFilter к вашему web.xml и добавили одну или более строк говорящих, какие пакеты ваших классов участвуют в работе. Методы, которые ваш код не требуется для реализации конкретных интерфейс (так называемых черт, trait в Scala), хотя есть поддержка черт, которые делают что-то гораздо проще. Короче говоря, вам не нужно ничего писать руками, кроме того, что явно не необходимо для выполнения вашей задачи; Лифт предназначен для работы "из коробки", и сделает вас настолько эффективным и производительным насколько это возможно. |
© Copyright © 2008, 2009 Derek Chen-Becker, Marius Danciu, David Pollak and Tyler Weir. License: Creative Commons Attribution-No Derivative Works 3.0 Unported License.

— Я предлагаю писать Lift по русски. Тем более, что слово имеет то же значение. — achepkunov
— Согласен, Лифт по русски это отличная идея на отличном сервисе. — writepavel