Начинаем работать с Лифтом

Derek Chen-Becker, Marius Danciu, David Pollak, Tyler Weir, “Starting with Lift”, public translation into Russian from English More about this translation.

See also 39 similar translations

Translate into another language.

Participants

achepkunov4350 points
writepavel2570 points
ignatov581 points
And others...
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next next untranslated

Starting with Lift

Начинаем работать с Лифтом

History of edits (Latest: achepkunov 1 year, 11 months ago) §

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

— Согласен, Лифт по русски это отличная идея на отличном сервисе. writepavel

Contents

Содержание

History of edits (Latest: achepkunov 1 year, 11 months ago) §

1 Welcome to Lift!

1. Добро пожаловать в Лифт!

History of edits (Latest: achepkunov 1 year, 11 months ago) §

1.1 Why Lift?

1.1 Почему Лифт?

History of edits (Latest: achepkunov 1 year, 11 months ago) §

1.2 For more information

1.2 Больше подробностей

History of edits (Latest: achepkunov 1 year, 11 months ago) §

1.3 Your first Lift application

1.3 Ваше первое приложение

History of edits (Latest: achepkunov 1 year, 11 months ago) §

2 Basic Lift

2 Основы Лифта

History of edits (Latest: achepkunov 1 year, 11 months ago) §

2.1 What we’re going to cover

2.1 Что мы сделаем

History of edits (Latest: achepkunov 1 year, 11 months ago) §

2.2 Creating a new project

2.2 Создание нового проекта

History of edits (Latest: achepkunov 1 year, 11 months ago) §

2.3 Adding a model

2.3 Добавление модели

History of edits (Latest: achepkunov 1 year, 11 months ago) §

2.4 Boot and Schemifier

2.4 Boot and Schemifier

History of edits (Latest: achepkunov 1 year, 11 months ago) §

2.5 Snippets: Bridging View and Logic

2.5 Сниппеты: Соединяем отображение и логику

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

2.6 Lift’s “View First” design

2.6 Дизайн первого шаблона Лифта

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

2.7 Updating the ToDo view

2.7 Обновление отображения ToDo

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

2.8 Seeing if the snippet works

2.8 Рассматриваем работу сниппетов

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

2.9 Creating a to-do item

2.9 Создание элемента todo

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

2.10 Updating the priority and desc fields

2.10 Обновление полей priority и desc

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

2.11 Hooking up the view to the form

2.11 Подключение отображения к форме

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

2.12 Trying it out again

2.12 Очередная проверка приложения

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

2.13 Display and Editting to-do items

2.13 Вывод на экран и редактирование элементов todo

History of edits (Latest: writepavel 2 months, 4 weeks ago) §

1 Welcome to Lift!

1 Добро пожаловать в Лифт!

History of edits (Latest: achepkunov 1 year, 11 months ago) §

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.

Лифт разработан, чтобы сделать мощные методы легко доступными, сохраняя при этом фреймворк в целом простым и гибким. Это звучит как клише, но по нашему опыту Лифт делает разработку веселой, поскольку он позволяет вам сконцентрироваться на интересных частях кода. Цель этой книги в том, чтобы вы смогли создать и расширить любое веб-приложение о котором вы можете подумать.

History of edits (Latest: achepkunov 1 year, 6 months ago) §

1.1 Why Lift?

1.1 Почему Лифт?

History of edits (Latest: achepkunov 1 year, 5 months ago) §

— все-таки лучше в русском тексте использовать русские буквы, если есть такая возможность. Я считаю, что здесь - есть  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), хотя есть поддержка черт, которые делают что-то гораздо проще. Короче говоря, вам не нужно ничего писать руками, кроме того, что явно не необходимо для выполнения вашей задачи; Лифт предназначен для работы "из коробки", и сделает вас настолько эффективным и производительным насколько это возможно.

History of edits (Latest: achepkunov 1 year, 6 months ago) §
Pages: ← previous Ctrl next next untranslated

© Copyright © 2008, 2009 Derek Chen-Becker, Marius Danciu, David Pollak and Tyler Weir. License: Creative Commons Attribution-No Derivative Works 3.0 Unported License.