Skip to content

Commit

Permalink
changed the root nesting level in Appendixes from = to ==
Browse files Browse the repository at this point in the history
  • Loading branch information
yfain committed Nov 26, 2013
1 parent 10fe4ae commit 90d19a2
Show file tree
Hide file tree
Showing 6 changed files with 254 additions and 254 deletions.
8 changes: 4 additions & 4 deletions appendix_c_ide.asciidoc
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[[appendix_c]]
[appendix]

= Appendix C. Running Code Samples and IDE
== Appendix C. Running Code Samples and IDE

The code samples used in this book are available on https://github.com/Farata/EnterpriseWebBook_sources[Github] - they are grouped by chapters. If a chapter has code samples, look for the directory with the respective name.

Technically, you don't have to use any Integrated Development Environment (IDE) to run code examples (except the CDB example from Chapter 5) - just open the main file in a Web browser and off you go. But using an IDE will make you more productive.


== Which IDE to Use
=== Which IDE to Use

Selecting an IDE that supports JavaScript is a matter of your personal preference. Since there is no compilation stage and most of your debugging will be done using the Web browser tools, picking a text editor that supports syntax highlighting is all that most developers need. For example, there is an excellent text editor http://www.sublimetext.com[Sublime Text 2]. Among many programming languages this editor understands the keywords of HTML, CSS, and JavaScript, and it offers not only syntax highlighting, context sensitive help, and auto-complete too.

Expand All @@ -22,7 +22,7 @@ Appcelerator offers a free Eclipse-based http://aptana.com[Aptana Studio 3 IDE].

The authors of this book like and recommend using the http://www.jetbrains.com/webstorm[IDE WebStorm] from JetBrains. In addition to smart context sensitive help, auto-complete, and syntax highlighting it offers HTML5 templates, and the code coverage feature that identifies the code fragment that haven't been tested.

== Running Code Samples in WebStorm IDE
=== Running Code Samples in WebStorm IDE

WebStorm IDE is pretty intuitive to use. If you've never used it before, refer to its http://www.jetbrains.com/webstorm/quickstart/[Quick Start Guide].
When you first start WebStorm IDE, select the option _Open Directory_ in the Welcome screen. Then select the directory where you downloaded the samples of a specific book chapter. For example, after opening code samples from Chapter 1 the WebStorm IDE may look as follows:
Expand All @@ -37,7 +37,7 @@ For example, if the WebStorm's opened directory chapter1 as in Figure <<FIGc-11>

TIP: You can configure in WebStorm the port number of the internal Web Server via Preferences | Debugger | JavaScript | Built-in server port.

== Using two IDEs: WebStorm and Eclipse
=== Using two IDEs: WebStorm and Eclipse

Although we prefer using WebStorm for JavaScript development, but have to use Eclipse for some Java-related projects. In such cases we create a project in WebStorm pointing at the WebContent directory of your Eclipse project. This way we still enjoy a very smart context sensitive help offered by WebStorm, and all code modifications become immediately visible in the Eclipse project.

Expand Down
2 changes: 1 addition & 1 deletion ch11_responsive.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:toclevels: 4
:imagesdir: ./

= Part 3. Responsive Web Design and Mobile
= Responsive Web Design and Mobile

BYOD stands for Bring Your Own Device. It became a new trend - many enterprises started allowing their employees to access corporate applications from personal tablets or smartphones. CYOD stands for Choose Your Own Device - corporations let their employees to choose a device that belongs to the enterprise. Developers of new Web applications should always think of the users that will try to run this application on a mobile device. This part is about various strategies of developing Web applications that look and perform well not only on the desktop computers but on a smaller screens too.

Expand Down
Loading

0 comments on commit 90d19a2

Please sign in to comment.