Cargando…

Kotlin Blueprints : a practical guide to building industry-grade web, mobile, and desktop applications in Kotlin using frameworks such as Spring Boot and Node.js.

Kotlin is a powerful language that has applications in a wide variety of fields. It is a concise, safe, interoperable and tool-friendly language. The Android team has also announced first-class support for Kotlin, which is an added boost to the language. Through this book, you’ll get a deep under...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Ashish Belagali; Hardik Trivedi; Akshay Chordiya
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UNITED KINGDOM : Packt Publishing, 2017.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000Ma 4500
001 EBOOKCENTRAL_on1018102475
003 OCoLC
005 20240329122006.0
006 m o d
007 cr |n|||||||||
008 180105s2017 enk o 000 0 eng d
040 |a IDEBK  |b eng  |e pn  |c IDEBK  |d EBLCP  |d MERUC  |d NLE  |d IDEBK  |d IDB  |d YDX  |d CHVBK  |d OCLCO  |d OCLCQ  |d OCLCO  |d OCLCF  |d OCLCQ  |d TEFOD  |d OCLCQ  |d UKMGB  |d LVT  |d UKAHL  |d N$T  |d OCLCQ  |d NLW  |d OCLCO  |d OCLCQ  |d OCLCO  |d OCLCL 
015 |a GBB871114  |2 bnb 
016 7 |a 018690492  |2 Uk 
019 |a 1015835082 
020 |a 1788470427  |q (electronic bk.) 
020 |a 9781788470421  |q (electronic bk.) 
020 |z 1788390806 
020 |z 9781788390804 
029 1 |a CHNEW  |b 000986701 
029 1 |a CHVBK  |b 509396186 
029 1 |a UKMGB  |b 018690492 
035 |a (OCoLC)1018102475  |z (OCoLC)1015835082 
037 |a 1056167  |b MIL 
037 |a 663BBEFC-46FB-4C42-8861-729E743C9BB7  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a T55.4-60.8 
082 0 4 |a 005.1  |2 23 
049 |a UAMI 
100 1 |a Ashish Belagali; Hardik Trivedi; Akshay Chordiya. 
245 1 0 |a Kotlin Blueprints :  |b a practical guide to building industry-grade web, mobile, and desktop applications in Kotlin using frameworks such as Spring Boot and Node.js. 
260 |a Birmingham, UNITED KINGDOM :  |b Packt Publishing,  |c 2017. 
300 |a 1 online resource (256) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
588 0 |a Print version record. 
520 |a Kotlin is a powerful language that has applications in a wide variety of fields. It is a concise, safe, interoperable and tool-friendly language. The Android team has also announced first-class support for Kotlin, which is an added boost to the language. Through this book, you’ll get a deep understanding of how Kotlin can work for you on ... 
505 0 |a Cover -- Title Page -- Copyright -- Credits -- About the Authors -- Acknowledgments -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: The Power of Kotlin -- Kotlin -- a better Java -- Why not other languages? -- Why Kotlin? -- Concise yet expressive code -- Enhanced robustness -- Excellent IDE support from day one -- Beyond being a better Java -- Kotlin is in the winning camp -- Go native strategy -- Kotlin's winning strategy -- Summary -- Chapter 2: Geospatial Messenger -- Spring Boot -- Why Spring Boot? -- Leveraging Kotlin in Spring Boot applications -- Extension functions -- Constructor injection -- Leveraging Null safety -- Functional bean declaration DSL -- Let's build our geospatial messenger -- Preview -- Features -- Architecture -- Setting up the IDE -- Creating a project -- Project structure -- Setting up the build script -- Adding Kotlin dependency -- Adding Spring Boot dependencies -- Exposed library -- Gradle dependency -- Defining the table -- Connecting to the database -- CRUD operations -- Explaining PostGIS -- Installation -- Gradle dependency -- Object mapping -- Gradle dependency -- Completing the Gradle script -- Coding the application -- Frontend -- HTML -- CSS -- JavaScript -- Rendering the map -- Plotting messages on the map -- Listening to message saved events -- Complete JavaScript -- Application class -- Backend -- Application configuration -- Data classes -- Exposed integration -- Exposed objects -- Extras for geospatial support -- Service/Controller -- Repository -- CrudRepository -- Event broadcaster -- Extension functions -- Testing -- Gradle dependency -- Test cases -- Pro-tips -- All-open compiler plugin -- Spring starter -- Playing with the Java to Kotlin converter -- Migrating to Kotlin -- Should I rewrite the existing Java code in Kotlin? 
505 8 |a What if I want to rewrite Java to Kotlin? -- Summary -- Chapter 3: Social Media Aggregator Android App -- Setting up Kotlin -- Setting up the Kotlin plugin for Android Studio -- Getting started -- Converting Java code to Kotlin code -- Creating a social media aggregator -- Using datatypes and conversion -- String interpolation -- String utility methods -- Classes -- Constructors -- Data classes -- Inheritance -- Singletons -- lateinit versus lazy initialization -- lateinit -- The lazy property -- Control flow -- The when() expression -- Getters and setters -- Declaring a property -- Interfaces -- Kotlin Android extension -- Ditching the findViewById() method -- View extensions -- Fragment LayoutInflater extension -- The Standard.kt function -- The with() function -- The apply() function -- The let() function -- Functions in Kotlin -- Single-expression function -- Inline function -- Default and named parameters -- Default parameter -- Named parameter -- Destructing declaration -- Android context -- Null-Safety -- Why Kotlin is called null-safe -- Safe call operator (?.) -- Elvis operator (?:) -- Force unwrap (!!) -- Smart casts -- The is and!is operators -- The as operator -- Companion object -- Fragment instantiation using companion objects -- Dealing with constants -- Object expressions and declarations -- Delegated properties -- Dealing with Shared Preferences -- Setting up an item click on RecyclerView -- Anko -- Kotlin's buddy for Android -- Setting up Anko -- Displaying toast() -- Starting an activity made easy -- Anko layout -- Summary -- Chapter 4: Weather App Using Kotlin for JavaScript -- Creating your first Kotlin and JavaScript project -- Choosing an IDE -- Creating a project -- Creating an HTML page -- Creating a Main.kt file -- Running the project -- Developing a weather forecast web app -- Creating a UI with dummy data. 
505 8 |a Simple HTML approach -- Creating UI using Kotlin -- What is DSL? -- Using Kotlinx.html -- Refactoring the HTML code using DSL -- Calling a weather API -- Reading data from input elements -- Data classes -- Showing data to the user -- Showing weather details -- Named parameters -- Extension functions -- Giving final touches -- Adding CSS -- Interoperability with JavaScript -- Summary -- Chapter 5: Chat Application with Server-Side JavaScript Generation -- Creating our first Node.js app using Kotlin -- Choosing an IDE -- Installing Node.js -- Installing the Node.js plugin -- Creating a project -- Creating a chat application -- Setting up the Node.js server -- Specifying the output files -- Examining the compilation output -- Specifying the router -- Starting the node server -- Creating a login page -- Creating an index.ejs file -- Using DSL -- Using kotlinx.html -- Lambda functions -- Reading the nickname -- Passing nickname to the server -- Smart cast -- Registering a callback -- Establishing a socket connection -- Setting up Socket. IO -- Listening to events -- Emitting the event -- Incrementing and decrementing operator overloading -- Showing a list of online users -- Using the data class -- Using the Pair class -- Iterating list -- Sending and receiving a message -- Null safety -- Force unwraps -- Using the let function -- Named parameter -- Disconnecting a socket -- Styling the page using CSS -- Summary -- Chapter 6: News Feed -- REST API -- What is REST? -- What is Ktor? -- Why Ktor? -- Understanding unopinionated applications -- Asynchronous nature -- Highly testable -- Deploying the Ktor app -- Let's build our news application -- News provider -- Fetching news sources -- Fetching news articles -- Preview -- Features -- Architecture -- Setting up the IDE -- Prerequisites -- Creating the project -- Project structure -- Deploying. 
505 8 |a Deploying in IntelliJ IDEA -- Setting up the build script -- Adding Kotlin dependency -- Adding Ktor dependencies -- Configuring logging -- Adding Fuel -- What is Fuel? -- Adding Gradle dependency -- Quick sample -- Asynchronous mode -- Blocking mode -- Completing Gradle script -- Let's code! -- Application configuration -- Deployment block -- Application block -- Application main -- Installing routing -- Simple routing -- Modular routing -- Understanding route paths -- Path parameters -- Testing -- Adding Gradle dependency -- Testing the application -- Testing the index URL -- Testing JSON using Postman -- Testing news sources using Postman -- Testing news sources using Postman -- Summary -- Chapter 7: CSV Reader in Kotlin Native -- What is Kotlin Native? -- Target platforms -- Multiplatform Kotlin -- Installing Kotlin Native -- Installing from the source -- Installing from binaries -- Testing the installation -- Memory management -- Building our app -- Writing the main function -- Reading command-line arguments -- Opening the file -- Reading the file contents -- Counting unique entries -- Converting to Kotlin string -- Splitting strings -- Printing the result -- Complete code -- Running the program -- Understanding the dataset -- Compiling the program -- Executing the program -- Multiplatform Kotlin -- Project structure -- Common module -- Platform module -- Regular module -- Overview of the dependency structure -- Setting up a multiplatform project -- Creating a multiplatform project with an IDE -- Creating a multiplatform project without an IDE -- Summary -- Chapter 8: Dictionary Desktop Application -- TornadoFX -- Introducing TornadoFX -- Java-based desktop frameworks -- TornadoFX special additions -- Creating a type-safe UI versus FXML -- Type-safe styling -- Other improvements -- Let's build our dictionary application -- What we will build. 
505 8 |a Words API -- Definition API -- Features of our application -- Setting up the IDE -- Prerequisites -- Installing the TornadoFX plugin -- Creating the project -- Project structure -- Let's code! -- Application class -- Type-safe CSS -- Dependency injection -- Property delegate -- Consuming the REST API -- Defining the Model -- Implementing the JSONModel interface -- REST client -- Configuring the client -- Controllers -- Views -- Layouts -- VBox layout -- HBox layout -- Other layouts -- Forms -- Background operations -- Printing the result -- Complete View -- Launching the application -- Summary -- Index. 
590 |a ProQuest Ebook Central  |b Ebook Central Academic Complete 
650 0 |a Application software  |x Development. 
650 0 |a Mobile apps  |x Development. 
650 6 |a Logiciels d'application  |x Développement. 
650 6 |a Applications mobiles  |x Développement. 
650 7 |a COMPUTERS  |x Programming Languages  |x Java.  |2 bisacsh 
650 7 |a COMPUTERS  |x Programming  |x General.  |2 bisacsh 
650 7 |a COMPUTERS  |x Programming  |x Parallel.  |2 bisacsh 
650 7 |a Application software  |x Development  |2 fast 
758 |i has work:  |a Kotlin Blueprints (Text)  |1 https://id.oclc.org/worldcat/entity/E39PCYgrVXhHtrrDhvDdFgc49C  |4 https://id.oclc.org/worldcat/ontology/hasWork 
776 0 8 |i Print version:  |a Ashish Belagali; Hardik Trivedi; Akshay Chordiya.  |t Kotlin Blueprints.  |d Birmingham, UNITED KINGDOM : Packt Publishing, 2017  |z 1788390806  |z 9781788390804  |w (OCoLC)1006812595 
856 4 0 |u https://ebookcentral.uam.elogim.com/lib/uam-ebooks/detail.action?docID=5183381  |z Texto completo 
938 |a Askews and Holts Library Services  |b ASKH  |n AH33814619 
938 |a EBL - Ebook Library  |b EBLB  |n EBL5183381 
938 |a EBSCOhost  |b EBSC  |n 1655556 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis39717726 
938 |a YBP Library Services  |b YANK  |n 15044300 
994 |a 92  |b IZTAP