توضیحاتی در مورد کتاب :
با اصول برنامه نویسی با استفاده از جاوا به عنوان یک زبان نمونه، سریع راه اندازی و اجرا کنید. این کتاب کوتاه به روشی آسان و سرگرم کننده شما را به فکر کردن مانند یک برنامه نویس وادار می کند. Modern Programming Made Easy اصول اولیه کدنویسی از جمله کار با لیست ها، مجموعه ها، آرایه ها و نقشه ها را به شما می آموزد. کد نویسی به سبک شی گرا؛ و نوشتن یک برنامه تحت وب
این کتاب عمدتاً زبان آگنوستیک است، اما عمدتاً آخرین نسخه مناسب و مرتبط جاوا را با برخی ارجاعات به روز شده به Groovy، Scala و JavaScript پوشش می دهد تا طیف وسیعی از مثال ها را در اختیار شما قرار دهد. شما مزه آنچه برنامه نویسی مدرن ارائه می دهد را خواهید چشید و خود را برای مطالعه و رشد بیشتر در زبان انتخابی خود آماده خواهید کرد.
آنچه شما یاد خواهید گرفت
نوشتن کد با استفاده از سبک برنامه نویسی کاربردی کد خود را با استفاده از آخرین نسخه های جاوا، Groovy و موارد دیگر بسازید کد خود را آزمایش کنید خواندن و نوشتن از فایل ها طراحی رابط های کاربری برنامه خود را در فضای ابری مستقر کنید.
این کتاب برای چه کسی است
هر کسی که می خواهد یاد بگیرد چگونه کدنویسی کند. چه دانش آموز باشید، چه معلم، به دنبال تغییر شغل هستید یا فقط یک سرگرمی، این کتاب برای شما ساخته شده است.
فهرست مطالب :
Table of Contents
About the Author
About the Technical Reviewer
Chapter 1: Introduction
Problem-Solving
About This Book
Chapter 2: Software to Install
Java/Groovy
Trying It Out
Others
Code on GitHub
Chapter 3: The Basics
Coding Terms
Primitives and Reference
Strings/Declarations
Statements
Assignment
Class and Object
Fields, Properties, and Methods
Groovy Classes
JavaScript Prototypes
Scala Classes
Creating a New Object
Comments
Summary
Chapter 4: Math
Adding, Subtracting, etc.
More Complex Math
Random Numbers
Summary
Chapter 5: Arrays, Lists, Sets, and Maps
Arrays
Lists
Groovy Lists
Scala Lists
JavaScript Arrays
Sets
Maps
Groovy Maps
Scala Maps
JavaScript Maps
Summary
Chapter 6: Conditionals and Loops
If, Then, Else
Switch Statements
Boolean Logic
Looping
Summary
Chapter 7: Methods
Call Me
Non-Java
Break It Down
Return to Sender
Static
Varargs
Main Method
Exercises
Summary
Chapter 8: Inheritance
Objectify
JavaScript
Parenting 101
JavaScript
Packages
Public Parts
JavaScript
Interfaces
Abstract Class
Enums
Annotations
Autoboxing
Autoboxing
Unboxing
Summary
Chapter 9: Design Patterns
Observer
MVC
DSL
Closures
Overriding Operators
Actors
Chain of Responsibility
Facade
Summary
Chapter 10: Functional Programming
Functions and Closures
Map, Filter, etc.
Immutability
Java
Groovy
Scala
Summary
Chapter 11: Refactoring
Object-Oriented Refactoring
Functional Refactoring
Refactoring Examples
Renaming a Method
Moving a Method from One Class to Another (Delegation)
Replacing a Bunch of Literals (Strings or Numbers) with a Constant (Static Final)
Renaming a Function
Wrapping a Function in Another Function and Calling It
Inline a Function Wherever It Is Called
Extract Common Code into a Function (the Opposite of the Previous)
Chapter 12: Utilities
Dates and Times
Java Date-Time
Groovy Date
JavaScript Date
Java DateFormat
Currency
TimeZone
Scanner
Chapter 13: Building
Ant
Maven
Using Maven
Starting a New Project
Life Cycle
Executing Code
Gradle
Getting Started with Gradle
Projects and Tasks
Plugins
Dependencies
Do First and Last
Chapter 14: Testing
Types of Tests
JUnit
Hamcrest
Assumptions
Spock
Spock Basics
A Simple Test
Mocking
Lists or Tables of Data
Expecting Exceptions
Other Test Frameworks
Summary
Chapter 15: Input/Output
Files
Reading Files
Writing Files
Downloading Files
Summary
Chapter 16: Version Control
Subversion
Git
Mercurial
Chapter 17: The Interweb
Web 101
My First Web App
The Holy Grails
Quick Overview
Plug-ins
Cloud
The REST
Using Maven Archetypes
Using Grails JSON Views
Summary
Chapter 18: Swinging Graphics
Hello Window
Push My Buttons
Fake Browser
Griffon
Advanced Graphics
Graphics Glossary
Summary
Chapter 19: Creating a Magical User Experience
Application Hierarchy
Consider Your Audience
Choice Is an Illusion
Direction
Skeuomorphism
Context Is Important
KISS
You Are Not the User
Summary
Chapter 20: Databases
SQL (Relational) Databases
SQL
Foreign Keys
Connections
NoSQL (Non-relational) Databases
Redis
MongoDB
Cassandra
VoltDB
Summary
Appendix A: Java/Groovy
No Java Analog
Appendix B: Java/Scala
No Java Analog
Null, Nil, etc.
Appendix C: Java/JavaScript
No Java Analog
Appendix D: Resources
Appendix E: Free Online Learning
The Death of College?
Sustainability
More Online Resources
Appendix F: Java
Afterword
Index
توضیحاتی در مورد کتاب به زبان اصلی :
Get up and running fast with the basics of programming using Java as an example language. This short book gets you thinking like a programmer in an easy and entertaining way. Modern Programming Made Easy teaches you basic coding principles, including working with lists, sets, arrays, and maps; coding in the object-oriented style; and writing a web application.
This book is largely language agnostic, but mainly covers the latest appropriate and relevant release of Java, with some updated references to Groovy, Scala, and JavaScript to give you a broad range of examples to consider. You will get a taste of what modern programming has to offer and set yourself up for further study and growth in your chosen language.
What You'll Learn
Write code using the functional programming style Build your code using the latest releases of Java, Groovy, and more Test your code Read and write from files Design user interfaces Deploy your app in the cloud
Who This Book Is For
Anyone who wants to learn how to code. Whether you're a student, a teacher, looking for a career change, or just a hobbyist, this book is made for you.