Delphi cookbook

329 122 0
Delphi cookbook

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

www.it-ebooks.info www.it-ebooks.info Delphi Cookbook 50 hands-on recipes to master the power of Delphi for cross-platform and mobile development on Windows, Mac OS X, Android, and iOS Daniele Teti [PACKT] PUBLISHING B I R M I N G HAM - M U M BAI www.it-ebooks.info Del p h i Cookbook Copyright© 2014 Packt Publishing All rights reserved No pa rt of this book may be reprod uced , stored i n a retrieva l syste m , or tra nsm itted i n a ny form or by any mea ns, without t h e prior written perm ission of the pu blisher, except i n the case of brief q u otations em bedded i n critica l a rticles or reviews Every effort has been made in the prepa ration of this book to ensure the accu racy of the i nformation presented However, the i nformation conta i ned in this book is sold without wa rra nty, either express or i m p l ied Neither the author, nor Packt Publishi ng, and its dealers and d istributors wi l l be held l iable fo r a ny d a mages ca used or a l l eged to be ca used d i rectly or i n d i rectly by this book Packt Publ ish i ng has end eavored to provide trademark i nfo rmation about all of the com pa n ies and prod ucts mentioned in this book by the appropri ate use of ca pita ls However, Packt Publishing can n ot gua ntee the accu racy of this i nformati o n Fi rst p u b l ished : Septe m ber 2014 Prod uction reference: 1190914 Publ ished by Packt Publ ish ing Ltd Livery Place 35 Livery Street B i r m i ngham B3 2PB, U K ISBN 978-1-78355-958-9 www packtpub com Cover i mage by J u n aid Shah (j una i dshahl l l@gma i l com) www.it-ebooks.info Credits Copy Editors Author Daniele Teti Roshni Banerjee Adithi Shetty Reviewers Eric Van Feggelen Project Coordinator Leena Purkait Sherwin John Olivier Pons Proofreaders Jorge H Rodriguez Bridget Braund Paul Hindle Commissioning Editor Sam Birch Amy Johnson Acquisition Editor Indexers Richard Harvey Monica Ajmera Mehta Tejal Soni Content Development Editors Balaji Naidu Pooja Nair Graphics Valentina D'silva Abhinash Sahu Technical Editors Mrunal Chavan Production Coordinators Dennis John Aparna Bhagat Edwin Moses Manu Joseph Cover Work Aparna Bhagat www.it-ebooks.info About the Author Daniele Teti is a software a rch itect, tra i ner, and consu lta nt with over 18 yea rs of professional experience He writes code in a n u m ber of languages but h is preferred la nguage to com p i l e native software is Object Pasca l Daniele i s a wel l-known Del phi a n d progra m m ing expert i n the developer com m u n ity He's the m a i n developer and d rives the development of some Del phi open sou rce projects (Del phi MVCFramework; DO R M , "the Del phi ORM"; Del phi Red is Client; and so on) He wrote his fi rst program when he was 11 years old, and si nce then, he happily conti n ues to write software a l m ost every day Apa rt from Del p h i , he's a huge fa n of design patterns, expert systems, RESTfu l a rchitectu res, and And roid OS When he is not busy writi ng software or progra m m ing (as h is job or hobby), he l i kes to play the gu itar, write songs, and vol u nta ry activities Cu rrently, he works as an R&D Di rector & Ed ucational at bit Ti me Software (www bi t t ime i t), an Italian representative of Embarcadero Technologies (www embarcade ro com) He recently beca me the CEO of bit Time Professiona ls, which is a spi n-off com pa ny of bit Ti me Software; this com pany specializes i n consultancy, tra i n i ng, and development Bei ng a softwa re a rch itect, consu lta nt, and teacher for m a ny Ita l i a n and E u ropean com p a n i es, he travels very often a ro u n d the world He is the Tec h n ica l Di rector of ITDevCon , the biggest Europea n Del p h i conference (www i tdevcon i t ) He's a lso a n i nternational spea ker at m a ny tec h n ical conferences Daniele l ives in Rome, Ita ly (where each photogra pher becomes an a rtist) with h is beloved wife, Debora, and their l ittle boy, Mattia www.it-ebooks.info About the Reviewers Eric van Feggelen is a passionate a n d experienced softwa re consu lta nt who delivers h igh-q ual ity sol utions usi ng the latest tech nologies ava i l a ble He has a bout 15 yea rs of experience as a developer and has been i nterested in i nformation technology h is enti re l ife I n the past few yea rs, he wo rked for major corporations, such as M icrosoft a n d Ava nade a n d conti n u es to serve the Microsoft Enterprise space as a private contractor for h is own com pa ny At the time of writi ng th is book, Eric has worked as a lead d eveloper for a Microsoft Dyn a m i cs sta rt-up I n 2013, Eric reviewed Mastering Windows C++ App Development, Packt Publishing Olivier Pons is a developer who's been bu i l d i ng websites si nce 1997 He is a teacher at l n geS u p ( Ecole S u p e rie u re d ' l nge n ierie l nformatique http : / /www i ngesup com/ and http : / /www y - nov com), at the U n ive rsity of Sciences (I UT) i n Aix-en-Provence, France At Ecole d ' l n ge n i e u rs d es M i nes d e Gardan ne, he teaches state-of-the-a rt web tec h n i q ues, such as MVC fu ndamenta ls, Symfony, Word Press, P H P, HTM L, CSS, jQuery/jQuery Mobile, Node.js, Angu l a rJS, Apache, Li n ux basics, a n d adva n ced Vi m tec h n i q ues He has a l ready worked as a tec h n ical reviewer for Ext JS First Look, jQuery Hotshot, jQuery Mobile Web Development Essentials, WordPress Complete, and jQuery 2.0 for Designers Beginner's Guide Second Edition All these books were publ ished by Packt Publishi ng I n 2011, he l eft h is fu l l-ti me job as a Del p h i and PH P d eveloper to concentrate on h is own compa ny, H Q F Development (http : / /hqf f r) He cu rrently runs a n u m ber of websites i n c l u d i ng http : / /www bat t l e s oop f r, http : / /www krys t a l l opol i s f r / (wh ich wi l l be released soon), http : I /www l i vrep i z z a s f r, http : I /www papdevi s f r, and http : / / o l ivi e rpons f r (his own web d evelopment blog) He a lso works as a consu lta nt, teacher, and project m a nager, a n d so meti m es, helps big compan ies as a senior / h ighly skil led d eveloper - www.it-ebooks.info Jorge H Rodriguez has a backgro u n d i n softwa re development and more than 20 yea rs of experience under his belt, m a ny of them working with Del p h i Always on t h e lookout for new and exciti ng technologies, Jorge l ives to code and spends m uch of h is spare ti me rea d i ng techn ical books and playi ng o n l i n e chess D u ring wi nters, he l i kes to go snowboa rd i ng with his o n ly so n , Ca m i lo Jorge resides i n Va ncouver, Ca nada, awa iti ng his Colombian gi rlfriend, Shana He can be contacted at delphi deve l ope r@shaw ca www.it-ebooks.info www.PacktPub.com Support files, eBooks, discount offers, and more You m ight wa nt to visit www Packt Pub com for support fi les and down loads related to you r book Did you know that Packt offers e Book ve rsions of every book p u b l ished, with PDF and ePub fi les ava i l a ble? You ca n u pgrade to the eBook version at www Packt Pub com and as a print book customer, you a re entitled to a d isco u nt on the eBook copy Get i n touch with us at s e rv i ce®packtpub com for more deta i ls At www Packt Pub com, you ca n a lso read a col l ection of free tec h n ical a rticles, sign up for a nge of free newsletters and receive excl usive d iscou nts and offers on Packt books and eBooks [dJ PACKTLi http : / / Packt Lib Packt Pub com Do yo u need i nsta nt so l utions to you r IT q u estions? Packtlib is Packt's o n l i n e d igita l book l i bra ry Here, you ca n access, read and sea rch across Packt's enti re l i bra ry of books Why subscribe? "' Fu l ly sea rchable across every book publ ished by Packt "' Copy a n d paste, pri nt and bookmark content "' On demand and accessible via web browser Free access for Packt account holders If you have an acco u nt with Packt at www Packt Pub com, you can use this to access Packtl i b today and view n i n e enti rely free books S i m ply use you r logi n cred enti a ls for i m med iate access www.it-ebooks.info www.it-ebooks.info Chapter FTTS L i s t ener : = Ttt sOni n i t L i s t ener Create ( procedure (Aini tOK : bool ean ) var Res : Intege r ; begin if AinitOK then begin Res : = FTTS setLanguage ( TJLoca l e JavaClas s ENGL I S H ) ; i f ( Re s = TJTextToSpeech JavaClas s LANG_MI S S ING_DATA) or ( Re s = TJTextToSpeech JavaClas s LANG_NOT_SUPPORTED ) then Labe l l Text - ' S e l ected l anguage is not support ed ' else begin Labe l l Text : = ' READY To S PEAK ! ' ; I dUDPServerl Act ive - True ; end ; end else Labe l l Text - ' In i t i a l i z a t i on Fa i l ed ! ' ; end ) ; end ; If the configu ration goes wel l , T i dUD P S e rver, configu red to l isten on a l l i nterfaces on port 9 9 , is activated I n the i dUD P S e rv e r l OnUD PRe ad event h a n d ler, there is a hook between the data sent over the network and the TIS engi ne: procedure TMa inForm I dUDPServerlUDPRead ( AThread : T i dUDPL i s t ene rThread ; s t AData : T i dByt e s ; AB inding : T i dSocketHandl e ) ; var byt e s : TByt e s ; begin byt e s : = TByt e s (AData ) ; Speak ( TEncoding AS C I I GetSt ring ( byt e s ) ) ; end ; procedure TMa inForm Speak ( cons t AText : s t ring ) ; begin FTTS Speak ( StringToJS t ring (AText ) , TJTextToSpeech JavaClas s QUEUE_FLUSH , ni l ) ; end ; www.it-ebooks.info Using Specific Platform Features The method Speak is the entry poi nt to the TIS engi ne The mobile app is now completed N ow, let's ta l k a bout the VCL appl icati on that has to send the U D P packets Open the VCLTTSCl i ent project a n d you wi l l see a form s i m i l a r to the fo l l owing screenshot: TIS · Tex t to sp each · C l i ent · : : : · The s i m p l e VCL form that w i l l send the U D P messages to the m o b i l e a p p This application is even sim pler than the mobile one Shortly after, when the user clicks on the button, the event handler sends the text entered i n the textbox to all the ava i l a ble broadcast add resses (considering its su bnet as a Class C network) I n other words, if the PC where the application is ru n n ing has a si ngle IP add ress, let's say , the UDP packet is sent to the broadcast add ress 5 , and so on for each Ethernet i nterface configu red on the Windows mach ine (to get a l l the I P add resses, I 've used ndy class na med T i dS t ackLoca lAddre s s L i s t that comes with I N DY Moreover, this is j ust a demo; if you wa nt to be sure about the broadcast add resses, you wi l l have to some additional work, but this is a network-specific topic and is out of the scope of this book) To replace the last add ress part (for exam ple, m ust become 5 ), I've used a simple regu lar expression to replace the last octet Note that the fol lowi ng cod e actua l ly works only for Pv4 add resses: proc edure TMa inForm btnS endC l i ck ( S ende r : TObj ect ) ; var CurrI P , Brdc s t I P : s t ring ; i : Intege r ; begin for : = i O to FAddre s s e s L i s t Count - begin if FAddre s s e s L i s t Addre s s e s [ i ] I PVe r s i on = I d I Pv4 then begin CurrI P : = FAddre s s e s L i s t Addre s s e s [ i ] I PAddre s s ; Brdc s t I P : = FToI Pv4 Broadca s t Replace ( CurrI P , ' 5 ' ) ; I dUDPC l i ent l Broadcast ( Edi t l Text , 9 9 , Brdc s t I P ) ; end ; end ; end ; www.it-ebooks.info Chapter proc edure TMa inForm FormCreat e ( S ende r : TObj ect ) ; begin FAddre s s e s L i s t : = T i dS tackLoca lAddre s s L i s t Creat e ; GStack GetLoca lAddre s s L i s t ( FAddre s s e s L i s t ) ; FToI Pv4 Broadcast - TRegEx Create ( ' \ \ d { l , } $ ' ) ; end ; That's it! Run the mobile a p p on you r And roid phone and check that it is cu rrently nected to the sa me Wi-Fi where the PC is nected The n , ru n the VCL appl ication on you r PC, write someth i n g i n the textbox, a n d h it the butto n You r And roid device should now sta rt ta l ki ng There's more The option of setti ng u p TCP or U D P servers on o u r mobile devices opens a great nge of poss i b i l ities However, you should open ports on you r phone conscientiously Tha n ks to Jeff Overcash , the TIS wra p per has greatly s i m p l ified the work req u i red to let a n And roid p h o n e tal k If you wa nt t o go deeper when using t h e TIS engine, yo u s h o u l d read the fol l owing And roid docu mentations: The Java doc u m e ntation a bout the m a i n class used i n this reci pe (http : / / deve l ope r andro i d com/ re f e renc e / andro i d/ speech/ t t s / TextToSpeech html ) The Java package where the classes have been i m ported from (http : / / deve l ope r andro i d com/ re f e renc e / andro i d/ speech/ t t s / package - summary html ) "" An i ntroduction to the TIS engi n e i n And roid (http : I / andro i d - deve l opers b l ogspot i t / 0 / / int roduc t i on - to - t ext - to - speech- in html ) www.it-ebooks.info www.it-ebooks.info I ndex A App Tethering about 197 references 202, 203 actions 214 activity used, for creating companion app 197-202 starting, for results 296-299 App Tethering model application functionalities 199 ADOM XML 38 Android PDF file, displaying on 289 B Android2Delphllmport U R L 281 backend working with 257-264 Android configu ration U R L 14 c Android intents sending 291-294 callback, Delphi Android SOK Java classes U R L 127 using 276-281 Android Text To Speech J N I Translation 300 animations about 102 clients, impressing with 102-105 references 105 anonymous methods 60 Apache HTTP Server U R L, for security tips 212 Apache Lounge community U R L, for downloading 203 Apache modules, DataSnap creating 203-211 VCL styles 10 class configuring, at runtime 68-71 helpers, creating for 76-84 class helper references 84 clients impressing, with animations 102-105 Codice Flscale 87 Command design pattern reference link 222 companion app app PDF files, displaying in C++Bullder XE6 286 phone call, making from 65-268 appllcatlon life cycle tracking 269-273 appllcatlons customizing, VCL styles used 8, creating, App Tethering used 197-202 complex intents 295 complex vector shapes displaying, paths used 116-120 configu ration, class at runtime 68-71 www.it-ebooks.info DHCP console service application converting, to Windows service 157-159 content types reference link 191 DoGetCu rrent method 67 DoMoveNext method 67 D.P.F Delphi Android Native Components reference link 171 Create Retrieve Update and Delete (CRUD) 150 custom VCL style U R L 282 draw combos using 0-22 using 13 Duck typing D about datagrams 191 dataset RTII used 2-75 reference serializing, to JSO N 160-163 E DataSnap about 211 enumerable types Apache modules, creating 203-2 11 about references 211 references 68 writing 64-67 datatypes, JSON 27 default keyboard shortcuts event 140 event objects references 112 references 143 Delphi references 64, 127 ExecuteAsynch method 232 explicit intent 292 extended RTII VCL styles 10 Delphl documentation, bullt-ln RegEx engine syntax reference references 89 Delphl language 59 DelphiMVCFramework (DMVCFramework) about 148 downloading 148 F Delphi samples, UDP programming references 197 flle extension associating, with application on Delphisorcery Windows 53-58 U R L 127 Filter function 60, 63 FlreDAC components 152 FireDAC I BLite with Delphi XE6 Delphi Web Script library U R L 31 Delphi XE5 Mobile REST Client Demo U R L 264 U R L 233, 264 Delphi XE5 Mobile REST Client Demo Sou rce Delphl XE7 282 Deployment Manager 286 deserlallzatlon 164 DelphiMVCFramework 148 jTable 148 references 148, 149 , 161, 176 U R L 264 eXtenslble Markup Language See XML external open sou rce projects FireMonkey about references, for image effects 222 using, in VCL application 122-127 flremonkey-contalner U R L 127 www.it-ebooks.info FireMonkey controls styles, used for customizing 2-97 FireMonkey Style Designer (FSD) I cojam references 23 about 94 references 95 idempotence reference link 190 FlreMonkey styles references 97, 102 FMX.Medla.TCameraComponent implicit intent 292 Intents about 289, 299 reference link 257 explicit 292 FormCreate event implicit 292 about 140 reference link 299 parameter 137 , 138 FOutputFile variable 132 full flagged e-mall intents, Android reference link 291 sending 291-294 sending 295 functlonalltles, App Tethering model application lnterBase Express (I BX) 300 iOS PDF file, displaying on 290 actions, sharing 199 resources, sharing 199 iOS configu ration strings, sending 199 iOS Objective-C SOK classes U R L 14 streams, sending 199 using 283-285 G ISAPI DLLs 156 GetEnumerator method 64 Google Docs Viewer J using 291 H helpers creating, for classes 76-84 higher-order functions Filter 60, 63 Map 60, 61 Reduce 60, 62 reference 60 using 60-64 http-equiv meta tags U R L 255 HTTP protocol references 171 HTTP Verb DELETE 17 G ET 175 POST 175 PUT 17 Java2Pas U R L 281 JavaScript Object Notation See JSON jQuery-UI CSS reference link 151 JSON about 26 dataset, serializing to 160-163 datatypes 27 manipulating 27-31 objects, serializing to 165-170 U R L 26 JSON Delphi library U R L 31 JSON parsers JSO N Delphi library 31 Superobj ect 31 JTable about 148, 153 references 148, 154 www.it-ebooks.info L objects listboxes using 0-22 serializing, to JSO N 165-17 listview Observer design pattern about 247 used, for displaying local data 222-227 used, for searching local data 222-227 LiveBindings about 105 , 115, 238 master/details ( M/D) relationship, using with 105-115 references 106 , 116, 238 about 274 U R L 26 OmnlThreadllbrary U R L 146 OnDrawlTem function 23 oscilloscope implementing 143-145 owner drawing 20 Location Sensors reference link 257 M Map function 60, 61 master/details (M/D) relationship using, with LiveBindings 105-115 Method Draw about 121 URL 121 methods, TDataSet descendants G etEnumerator 77 SaveToCSV 77 Microsoft Message Complier about 53 reference 53 Mobile Preview about 227 URL 227 Monitor reference link 136 p packets 191 paths used, for displaying complex vector shapes 116-120 PDF flles displaying, in app 286 displaying, on Android 289 displaying, on iOS 290 d ownloading, from server 291 phone call making, from app 65-268 photo effects, applying 14-2 21 sharing 14-22 taking 214-2 Plaln Old Delphi Object (PODO) 67 POST HTTP request encoding parameters sending 171-173 about 247 POSTMan Chrome extension 190 PrepareResponse method 154 presentation, Android and iOS APls access server side 25 2-256 producer/ consumer design pattern monitoring system Implementation client side 248-251 MonkeyMlxer, Delphl XES U R L 127 MSXM L 38 multiple threads synchronizing, TEvent used 140-143 multlthreadlng 129, 233 U R L 282, 286 reference 121 R record helper references 84 Reduce function 60, 62 www.it-ebooks.info System.Classes.TStreamReader 39 regular expression (RegEx) System.Classes.TStreamWriter 39 about 84 System.Classes.TStringReader 39 references 84, 89, 222 strings, checking with 84-89 System.Classes.TStringWriter 39 System.Classes.TiextReader 39 RemObjects Hydra4 U R L 127 System.Classes.TiextWriter 39 System.Classes.TWriter 39 remote applications controlling, U DP used 191-196 strings Representational state transfer (REST) 174 REST Cllent llbrary about 174 checking, with regular expression ( RegEx) 84-89 stunning FireMonkey GUI creating 99-101 reference link 174, 233 RESTDemo sample styled TListBox reference link 174 creating 98-101 styled TListView RESTful interface used, for handling long data list 239-246 implementing, WebBroker used 174-189 styles results activity, starting for 296-299 used, for customizing FireM onkey controls 2-97 reverse proxy reference link 15 Superobject Richardson Matu rity Model (RMM) 174 RTTI about 71 objects, serializing to JSO N 165-170 U RL 31 SVG 116 SVG PATH data 121 System.Messaging.pas unit reference link 274 runtime class, configuring at 68-71 System.Messaging.TMessageManager class reference link 26 s T Scalable Vector G raphic See SVG serlallzatlon 164 server Table Data Gateway (TOG) about 181 references 181 P DF file, downloading from 291 shared resources synchronizing, with TM onitor 129-136 SQLite databases used, for handling to-do list 234-238 stack of embedded forms creating 23-25 startActivityForResult method 296 streams about 38 utilization examples 39-41 streams types System.Classes.TBinaryReader 39 System.Classes.T BinaryWriter 39 TActlveStyleObject style 95 TAnonymousThread constructor, methods function: T 47 procedure ( E : Exception) 47 procedure (Value: T) 47 TApplicationEvent instance BecameActive 271 Entered Background 271 FinishedLaunching 271 Low M emory 272 Open U R L 272 TimeChange 272 WillBecomeForeground 272 System.Classes.TReader 39 www.it-ebooks.info WillBecomelnactive 272 TService.LogMessage method using 52 WillTerminate 272 TDBG rid TStreamWriter class 40 TStyleManager class customizing 14-19 about 11 TEvent methods 13 used, for synchronizing multiple threads 140-143 TietheringAppProfile component 197 TietherlngManager component 197 TihreadedQueue class 137, 139 TXM LDocument, DOMVendor lmplementatlon TextToSpeech engine reference link 303 using 300-303 ADO M XM L 38 TFileEnumerable type 65 third-party Java llbrarles, RAD Studio applications MSXM L 38 XSLT 38 U RL 282 u thread block, avoiding 27-232 UDP thread, on stack overflow about 190 reference link 84 features 191 thread-safe queue used, for controlling remote using 137-139 applications 191-196 TJavaGenericlmport class 277 TJSON class 171 TMemo component 28 TMonltor UI Device class 283 URLs, WebBroker server /deleteperson 151 /getpeople 151 about 129 shared resources, synchronizing 130-136 TMS ICL component suite reference link 257 U RL 290 toast v about 276 reference link 276 VCL 122 VCL application Toast class constants 276 FireMonkey, using in 122-127 public instance methods 276, 277 inserting, in tray 42-47 public static methods 277 style, modifying at runtime 10-13 to-do llst hand ling, SQLite databases used 234-238 U RL, for downloading 148 TPathAnlmatlon component 121 tray VCL application, inserting in 42-48 /saveperson 151 Uses Permissions about 290 TortolseSVN /ind ex.html 151 VCL styles about references 10 used, for customizing applications 8, Visual Component Library See VCL voice-over-Internet protocol (VoIP) 190 tray Icon usage 48 www.it-ebooks.info w Windows service about waGetPeopleAction action 152 WebBroker about 149 references 150, 151, 15 used, for implementing R ESTful interface 174-189 web client JavaScript application, creating 149-152 web client JavaScript application creating, with WebBroker 149-15 people list, retrieving 152 person's record, creating 154, 155 console service application, converting to 157-159 creating 48-51 x XML about documents, manipulating 32-37 documents, transforming 32-37 reference link 37 person's record, deleting 156 XML ecospace 37 XML Schema, JSON running 156 XSLT person's record, updating 154, 155 WebFlleDlspatcher 152 WebView component 290 Windows configu ration U R L 32 about 38 references 38 U R L 14 www.it-ebooks.info www.it-ebooks.info [ PACKT] Del p h i Cookbook T h a n k you for buyi ng P U B L I S H I N G About Packt P u b l i s h i ng Packt, pronounced 'packed ', published its first book "Mastering phpMyAdmin for Effective MySQL Management" in April 2004 and subsequently continued to specialize in publishing highly focused books on specific technologies and solutions Our books and publications share the experiences of your fellow IT professionals in adapting and customizing today's systems, applications, and frameworks Our solution based books give you the knowledge and power to customize the software and technologies you're using to get the job done Packt books are more specific and less general than the IT books you have seen in the past Our unique business mod el allows us to bring you more focused information, giving you more of what you need to know, and less of what you don't Packt is a modern, yet unique publishing company, which focuses on producing quality, cutting-ed ge books for communities of developers, ad ministrators, and newbies alike For more information, please visit our website: www packtpub com Wri t i n g for Packt We welcome all inquiries from people who are interested in authoring Book proposals should be sent to author®packtpub com I f your book idea is still at an early stage and you would like to discuss it first before writing a formal book proposal, contact us; one of our commissioning editors will get in touch with you We're not just looking for published authors; if you have strong technical skills but no writing experience, our experienced editors can help you develop a writing career, or simply get some additional reward for your expertise www.it-ebooks.info [ PACKT] P U B L I S H I N G AS P N ET MVC M o b i l e App Development ISBN : 978-1-849 68-73 6-2 Paperback: 356 pages Create next-generation applications for smart phones, tablets, and mobile devices using the ASP N ET MVC development framework ASP N ET MVC Mob i l e App Deve l o pment a native feel Andy Maado , I •';,• r ] J rn' -1' ,.ie Learn and utilize the latest Microsoft tools and technologies to develop mobile web apps with Create web applications for the traditional and mobile web Discover techniques used t o overcome t h e pitfalls of developing Internet-ready apps I nstant Ru byMotion App Development ISBN : 978-1-849 69-652-4 Paperback: 54 pages A jump start to quickly learn how to program iOS applications with the elegance and simplicity of Ruby Learn something new in an Instant! A short, fast, focused guide delivering immediate results Learn the structure o f iPhone and iPad applications Discover how t o simplify iOS apps with Ruby Get to grips with how to leverage Ruby libraries to quickly and efficiently write apps! Please check www PacktPub.com for information on our titles www.it-ebooks.info [ PACKT] P U B L I S H I N G Bu i l d i ng Web and Mobi l e ArcG I S Server App l i cations with JavaScri pt ISBN : 978-1-84969-796-5 Paperback: 274 pages Master the ArcG IS API for JavaScript, and build exciting, custom web and mobile G IS applications with the ArcG IS Server Develop ArcG IS Server applications with JavaScript, both for traditional web browsers as well as the mobile platform Acquire in-demand G I S skills sought by many employers Step-by-step instructions, examples, and hands-on practice designed to help you learn the key features and design considerations for building custom ArcG IS Server applications Creating Mobile Apps with Appcelerator Titan i u m ISBN : 978-1-84951-926-7 Paperback: 298 pages Develop fully-featured mobile applications using a hands-on approach, and get inspired to d evelop more Walk through the development of 10 different mobile applications by leveraging your existing knowledge of JavaScript Allows anyone familiar with some object-oriented programming (OOP), reusable components, and AJAX closures take their ideas and heighten their knowledge of mobile development Full o f examples, illustrations, and tips with an easy-to-follow and fun style to make app development fun and easy Please check www PacktPub.com for i nformation on our titles www.it-ebooks.info ...www.it-ebooks.info Delphi Cookbook 50 hands-on recipes to master the power of Delphi for cross-platform and mobile development on Windows, Mac OS... www.it-ebooks.info Delphi Basics -­ The fol lowing screenshot shows the Bitmap Style Designer window wh i l e wo rki ng on a custom style: Bitmap Style Designer - [C: Delphi Cookbook BOOKChapter01CODl:RECIPE0210_s... resides i n Va ncouver, Ca nada, awa iti ng his Colombian gi rlfriend, Shana He can be contacted at delphi deve l ope r@shaw ca www.it-ebooks.info www.PacktPub.com Support files, eBooks, discount

Ngày đăng: 12/03/2019, 11:49

Từ khóa liên quan

Mục lục

  • Credits

  • About the Author

  • About the Reviewers

  • www.PacktPub.com

  • Table of Contents

  • Preface

  • Chapter 1: Delphi Basics

    • Introduction

    • Changing your application's look and feel with VCL styles and no code

    • Changing the style of your VCL application at runtime

    • Customizing TDBGrid

    • Using the owner's draw combos and listboxes

    • Creating a stack of embedded forms

    • Manipulating JSON

    • Manipulating and transforming XML documents

    • I/0 in the twenty-first century - knowing streams

    • Putting your VCL application in the tray

    • Creating a Windows service

    • Associating a file extension with your application on Windows

    • Chapter 2: Become a Delphi Language Ninja

      • Introduction

      • Fun with anonymous methods - using higher-order functions

Tài liệu cùng người dùng

Tài liệu liên quan