concept project in category scala

This is an excerpt from Manning's book sbt in Action.
Validate— Validate that the project is correct and all necessary information is available. Compile— Compile the source code of the project.
Every sbt build is created by defining a group of settings, projects, and definitions. The preowned-kittens build includes only the build settings for the root project. We’ll talk more about defining builds with multiple projects later in the chapter; for now, let’s look into how to configure the preowned-kittens project.
Listing 10.3. sbt> help
help Displays this help message or prints detailed help on requested commands (run 'help <command>'). about Displays basic information about sbt and the build. tasks Lists the tasks defined for the current project. settings Lists the settings defined for the current project. reload (Re)loads the project in the current directory projects Lists the names of available projects or temporarily adds/removes extra builds to the session. project Displays the current project or changes to the provided 'project'. set [every] <setting> Evaluates a Setting and applies it to the current project. session Manipulates session settings. For details, run 'help session'. inspect [uses|tree|definitions] <key> Prints the value for 'key', the defining scope, delegates, related definitions, and dependencies. <log-level> Sets the logging level to 'log- level'. Valid levels: debug, info, warn, error ; <command> (; <command>)* Runs the provided semicolon- separated commands. ~ <command> Executes the specified command whenever source files change. last Displays output from a previous command or the output from a specific task. last-grep Shows lines from the last output for 'key' that match 'pattern'. export <tasks>+ Executes tasks and displays the equivalent command lines. exit Terminates the build. --<command> Schedules a command to run before other commands on startup. show <key> Displays the result of evaluating the setting or task associated with 'key'.

This is an excerpt from Manning's book Scala in Action.
There are three ways to configure projects with SBT:
Use the .sbt file to configure the build definition of the project.
Now save the preceding configuration into the application.conf file under the src/ main/resources folder of the project. This will make the application.conf file available in the classpath. To make the workersystem run on a different JVM, run the following code in a different terminal:

This is an excerpt from Manning's book Lift in Action: The Simply Functional Web Framework for Scala.
In the early days of web development, it was commonplace to intermingle the code that did business computations with the code that generated the HTML markup for the user interface. This can be an exceedingly painful long-term strategy, as it makes maintaining the code problematic and tends to lead to a lot of duplication within any given project. Conceptually, this is where the MVC pattern should shine, but most implementations still give the developer the ability to write real code within the presentation layer to generate dynamic markup; this can add accidental complexity to a project when the developer unwittingly adds an element of business or process logic to the presentation layer. It takes programmers who are very disciplined to ensure that none of the business or application logic seeps into the view. Lift takes the standpoint that being able to write interpreted code within markup files can lead to all manner of issues, so it’s outlawed completely; this ensures that your templates contain nothing but markup.
To get started, open a console window switch, with cd, into a new working directory of your choosing. Here you should invoke the sbt command. After doing so, SBT will check to see if a project is already in place, and if not, it will then prompt you to create a new SBT project. SBT determines whether a project already exists by checking for a project directory containing a build.properties file.
> lift create project-blankInvoking this command will prompt you for a mainpack. This is the main package that you would like the code to be generated in. An example value could be com.mycompany, but by default it will be the value you supplied as the organization when you created the project. Next, it will prompt you for a Lift version; use 2.3 because all of the code samples in this book are compiled and tested against that version of Lift. When you press Enter, Lifty will generate a set of files for your Lift application, including the SBT project definition and all the associated elements (which we’ll discuss shortly).