05017nam 2200697 a 450 991078178400332120231002165033.01-283-30813-497866133081391-84951-257-4(CKB)2550000000045337(EBL)948516(OCoLC)797917478(SSID)ssj0000646078(PQKBManifestationID)11445875(PQKBTitleCode)TC0000646078(PQKBWorkID)10684957(PQKB)10993024(WaSeSS)Ind00023471(Au-PeEL)EBL948516(CaPaEBR)ebr10492871(CaONFJC)MIL330813(CaSebORM)9781849512565(MiAaPQ)EBC948516(PPN)228038065(EXLCZ)99255000000004533720110922d2011 uy 0engur|n|---|||||txtrdacontentcrdamediacrrdacarrierHaXe 2 beginner's guide[electronic resource] develop exciting applications with this multi-platform programming language /Benjamin Dasnois ; foreword by Pimm HogelingFirst editionBirmingham [England] :Packt Pub. Ltd.,2011.1 online resource (288 pages)Includes index.1-84951-256-6 Includes index.Cover; Copyright; Credits; Foreword; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Getting to know haXe; Installing haXe; Two ways to install: The installer and sources compilation; Installing on Windows; Installing on MacOSX; Installing on Linux; Installing nightly builds; Verifying your installation; Choosing an editor; FlashDevelop 3; The TextMate bundle; VIM; Writing your first program; Time for action - writing a Hello World; A program with some interaction; Time for action - interacting with the user; SummaryChapter 2:Basic Syntax and BranchingModules, packages, and classes; Packages; Modules; Classes; Accessing a class; Constants and its types; Booleans; Integers; Floats; Base 10; Scientific notation; Strings; Regular expressions; The null value; Flash9 and above; Binary and unary operators; Binary operators; Assigning values; Comparison operators; Arithmetic operators; Boolean operators; Bitwise operators; Unary operators; Blocks; Variable declaration and scope; Declaring a variable; At class level; Time for action - Declaring some fields; In a block of instructionsField access and function callsConstructing class instance; Conditional branching; If; Switch; Loops; While; For; Break and continue; Time for action - Using the break keyword; Time for action - Using the continue keyword; Return; Exception handling; Anonymous objects; Local functions; Managing a fridge; Time for action - Managing a fridge; Summary; Chapter 3:Being Cross-platform with haXe; What is cross-platform in the library; Object storage; The Std class; The haxe package; The haxe.remoting package; The haxe.rtti package; The haxe.Http class; Regular expressions and XML handlingRegular expressionsXML handling; Input and output; The DOM interface; The Flash interface; The standard input/output interface; Platform-specific packages; JavaScript; Flash; Neko; PHP; C++; Conditional compilation; Conditional compilation depending on flags; Conditional compilation depending on the target; The remap switch; Coding cross-platform using imports; Time for action - Welcoming the user on Neko & PHP; Time for action - Reading from the XML file; Time for action - Writing to an XML file; Testing our sample; Making it cross-platform; Summary; Chapter 4:Understanding TypesExplicitly typed variablesStatic typing; Values with several types; Defining a type; Inheritance; Multi-inheritance; Implementing an interface; Representing a blog article; Time for action - representing different types of articles; Function's type; Expressing a function's type; Functions using functions; Dynamic functions; Anonymous objects; Duck typing; Creating a function to apply another one; Time for action - applying a function on every item; Type inference; Assigning a value; Assigning the value of the variable to another one; Passing the variable as a parameter; Casting; Safe castingUnsafe castingDevelop exciting applications with this multi-platform programming languageOpen source softwareProgramming languages (Electronic computers)Open source software.Programming languages (Electronic computers)005.1005.133Dasnois Benjamin1521304Hogeling Pimm1521305MiAaPQMiAaPQMiAaPQBOOK9910781784003321HaXe 2 beginner's guide3760339UNINA