Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- Programming
- Programming techniques
- CoffeeScript Application Development. What JavaScript user wouldn't want to be able to dramatically reduce application development time? This book will teach you the clean, elegant CoffeeScript language and show you how to build stunning applications
E-book details
Log in, If you're interested in the contents of the item.
CoffeeScript Application Development. What JavaScript user wouldn't want to be able to dramatically reduce application development time? This book will teach you the clean, elegant CoffeeScript language and show you how to build stunning applications
Ian Young, Ian Greenleaf Young
Ebook
JavaScript is becoming one of the key languages in web development. It is now more important than ever across a growing list of platforms. CoffeeScript puts the fun back into JavaScript programming with elegant syntax and powerful features.
CoffeeScript Application Development will give you an in-depth look at the CoffeeScript language, all while building a working web application. Along the way, you'll see all the great features CoffeeScript has to offer, and learn how to use them to deal with real problems like sprawling codebases, incomplete data, and asynchronous web requests.
Through the course of this book you will learn the CoffeeScript syntax and see it demonstrated with simple examples. As you go, you'll put your new skills into practice by building a web application, piece by piece. You'll start with standard language features such as loops, functions, and string manipulation. Then, we'll delve into advanced features like classes and inheritance. Learn advanced idioms to deal with common occurrences like external web requests, and hone your technique for development tasks like debugging and refactoring.
CoffeeScript Application Development will teach you not only how to write CoffeeScript, but also how to build solid applications that run smoothly and are a pleasure to maintain.
CoffeeScript Application Development will give you an in-depth look at the CoffeeScript language, all while building a working web application. Along the way, you'll see all the great features CoffeeScript has to offer, and learn how to use them to deal with real problems like sprawling codebases, incomplete data, and asynchronous web requests.
Through the course of this book you will learn the CoffeeScript syntax and see it demonstrated with simple examples. As you go, you'll put your new skills into practice by building a web application, piece by piece. You'll start with standard language features such as loops, functions, and string manipulation. Then, we'll delve into advanced features like classes and inheritance. Learn advanced idioms to deal with common occurrences like external web requests, and hone your technique for development tasks like debugging and refactoring.
CoffeeScript Application Development will teach you not only how to write CoffeeScript, but also how to build solid applications that run smoothly and are a pleasure to maintain.
- CoffeeScript Application Development
- Table of Contents
- CoffeeScript Application Development
- Credits
- About the Author
- Acknowledgements
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers and more
- Preface
- What is CoffeeScript?
- Why CoffeeScript?
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Running a CoffeeScript Program
- Installing Node.js
- Installing Node.js on OS X
- Using the installer
- Using Homebrew
- Using Macports
- Installing Node.js on Windows
- Installing Node.js on OS X
- Using the installer
- Using the standalone executable
- Using Chocolatey
- Installing Node.js on Linux
- Using a graphical package manager
- Using the command line
- Linux Mint/Ubuntu 12.04 (Precise Pangolin)
- Debian Sid/Ubuntu 12.10 (Quantal Quetzal)
- Arch Linux
- Fedora
- Compiling Node.js manually
- Skipping the Node installation step
- Testing our Node installation
- Testing npm
- Installing CoffeeScript
- Our very first CoffeeScript code
- Compiling from a CoffeeScript file
- CoffeeScript support in the editor
- Support in TextMate
- Support in Sublime Text 2
- Support in Vim
- Support in Emacs
- Starting our web application
- One more thing
- Summary
- Installing Node.js
- 2. Writing Your First Lines of CoffeeScript
- Following along with the examples
- Seeing the compiled JavaScript
- CoffeeScript basics
- Statements
- Variables
- Comments
- Calling functions
- Precedence
- Control structures
- Using if statements
- The else and else if statements
- The unless statement
- Single-line form
- Comparison operators
- Arrays
- Ranges
- Loops
- Loop comprehensions
- A few more array tricks
- Checking array membership
- Simple objects
- Iterating over objects
- Summary
- Following along with the examples
- 3. Building a Simple Application
- Building our application
- String Interpolation
- Using string interpolation in our application
- Defining functions
- Function naming
- Function return behavior
- Adding dynamic behavior to our application
- Switch statements
- Using a switch statement in our application
- Summary
- 4. Improving Our Application
- Checking if a value exists
- Using the existential operator
- Null values in chained calls
- Assigning new values conditionally when null
- Dealing with nulls in our application
- Assigning multiple values at once
- Using destructuring assignment in our application
- Advanced function arguments
- Default argument values
- Using default arguments in our application
- Accepting a variable number of arguments with splats
- Invoking functions with splats
- Using splats in our application
- Default argument values
- Summary
- Checking if a value exists
- 5. Classes in CoffeeScript
- Defining a class in CoffeeScript
- Attaching methods to a class
- How CoffeeScript builds classes in JavaScript
- Maintaining state with object properties
- Calling other methods on this object
- Attaching a method outside of the class definition
- Constructors
- CoffeeScript constructors in JavaScript
- Calling methods statically on classes
- Inheritance
- CoffeeScripts inheritance in JavaScript
- Using CoffeeScript with other class libraries
- Backbone classes in CoffeeScript
- Ember classes in CoffeeScript
- Summary
- Defining a class in CoffeeScript
- 6. Refactoring with Classes
- The refactoring cycle
- Structuring our data with classes
- Adding business logic
- More data modeling
- More business logic
- Managing display logic with classes
- Displaying a collection
- The top-level display logic
- A final refactoring pass
- Using inheritance while refactoring
- Getting the green light
- Summary
- 7. Advanced CoffeeScript Usage
- Getting our context right
- Using fat arrows in our project
- Saving our work with memoization
- Using memoization in our application
- A new idiom: options objects
- Using options objects in our application
- Summary
- Getting our context right
- 8. Going Asynchronous
- Understanding asynchronous operations
- Getting to know our remote API
- Making an asynchronous request
- Using a third-party library
- Refactoring
- Wrangling multiple asynchronous calls
- Requests in a loop
- Determining when we're finished
- Alternatives for managing asynchronous calls
- Promises
- Using Promises in our application
- An async helper library
- Using Async.js in our application
- IcedCoffeeScript
- Using IcedCoffeeScript in our application
- Promises
- Summary
- 9. Debugging
- Discovering a problem
- Working with source maps
- Source maps in the Firefox developer tools
- Inspecting our application state
- Using the debugger
- Source maps in the Chrome developer tools
- Inspecting our application state
- Using the debugger
- Source maps in the Firefox developer tools
- Fixing the problem
- Summary
- 10. Using CoffeeScript in More Places
- CoffeeScript directly in the browser
- CoffeeScript in the browser console
- A CoffeeScript console in Firefox
- A CoffeeScript console in Chrome
- Using CoffeeScript with Rails
- Setting up the asset pipeline
- Creating a new Rails application
- Rails 3.0
- Rails 3.1 and 3.2
- Rails 4
- Setting up our application
- Adding some CoffeeScript
- Precompiling assets
- Setting up the asset pipeline
- Using CoffeeScript with Brunch
- Creating a Brunch project
- Filling out our application
- Precompiling assets
- Using CoffeeScript with Node.js
- Creating our project
- Keeping the server up-to-date
- Adding CoffeeScript compilation
- Finishing our application
- Cleaning up our script dependencies
- Summary
- 11. CoffeeScript on the Server
- Running a server with CoffeeScript
- Running our application
- Adding an endpoint for data
- Using a database
- Handling errors
- Using a Cakefile
- Writing a Cake task
- More Cake tasks
- Making our application interactive
- Seeing the results
- Summary
- Running a server with CoffeeScript
- Index
- Title: CoffeeScript Application Development. What JavaScript user wouldn't want to be able to dramatically reduce application development time? This book will teach you the clean, elegant CoffeeScript language and show you how to build stunning applications
- Author: Ian Young, Ian Greenleaf Young
- Original title: CoffeeScript Application Development. What JavaScript user wouldn't want to be able to dramatically reduce application development time? This book will teach you the clean, elegant CoffeeScript language and show you how to build stunning applications.
- ISBN: 9781782162674, 9781782162674
- Date of issue: 2013-08-26
- Format: Ebook
- Item ID: e_3aw1
- Publisher: Packt Publishing