Cantitate/Preț
Produs
macOS Daemonology de Volodymyr Vashurkin

macOS Daemonology

21884 lei 27355 lei -20%
  • Economic21 decembrie 26 - 04 ianuarie 27 21884 lei
Adaugă în listă328 Puncte Express
  • Livrare prin curier de la 1699 lei, gratuită de la 400 lei
  • Plată online sau ramburs
  • Retur gratuit în 14 zile

De ce să citești această carte

Recomandăm această carte dezvoltatorilor și arhitecților software care doresc să depășească limitele aplicațiilor GUI clasice. Veți câștiga o înțelegere profundă a modului în care funcționează serviciile de fundal în macOS, învățând să implementați System Extensions și comunicații XPC securizate. Este resursa ideală pentru a stăpâni arhitectura modernă a sistemului de operare Apple, asigurând o integrare fluidă între componentele aplicației dumneavoastră.

Despre carte

Metodologia propusă în macOS Daemonology se concentrează pe arhitectura proceselor de fundal și pe design pattern-urile esențiale pentru dezvoltarea de aplicații multicomponent pe platforma Apple. Analizăm o distincție clară între dezvoltarea pentru iOS și cea pentru macOS, unde utilizarea daemonilor este vitală pentru funcționalități complexe precum monitorizarea sistemului sau agenții de notificare. Găsim în această lucrare o explorare tehnică a modului în care XPC (XPC Services) permite o comunicare orientată pe obiecte, eliminând necesitatea protocoalelor personalizate bazate pe text sau bytes. Structura volumului este organizată strategic pentru a facilita progresia de la teorie la implementare. Prima parte, „Daemons in the Wild”, stabilește contextul sistemului de operare, în timp ce a doua parte, „Daemons in Detail”, disecă anatomia componentelor precum Privileged Helpers și noile System Extensions. În final, secțiunea „Talking to your Daemons” oferă soluții practice pentru transferul obiectelor prin proxy sau valoare folosind NSSecureCoding. Cititorul care a aplicat ideile din Interprocess Communication with macOS de Hem Dutt va găsi aici o continuare firească, ce completează tehnicile de IPC cu o implementare modernă, axată pe Swift și pe noile API-uri de securitate ale Apple. Reținem atenția deosebită acordată gestionării conexiunilor și invalidării acestora, aspecte critice în menținerea stabilității sistemului. Autorul Volodymyr Vashurkin nu se limitează la interfețe de programare, ci integrează și bunele practici de DevOps și securitate necesare pentru înregistrarea și managementul acestor procese privilegiate. Este o resursă tehnică ce transformă dezvoltarea de sistem într-un proces structurat, oferind exemple de cod gata de utilizat pentru utilitare complexe.

Detalii

ISBN-13
9781484272763
ISBN-10
1484272765
Editura
Apress
Ediția
1st ed.
Pagini
154
Ilustrații
XIII, 154 p. 34 illus.
Dimensiuni
203 x 234 x 8 mm
Greutate
0.23 kg
Locul publicării
Berkeley, CA, United States

Despre autor

Volodymyr Vashurkin este un specialist cu experiență solidă în dezvoltarea software pentru ecosistemul Apple, concentrându-se pe arhitectura sistemelor și optimizarea proceselor de nivel scăzut în macOS. Expertiza sa acoperă utilizarea limbajului Swift în contexte complexe, de la aplicații cu interfață grafică până la servicii de sistem critice. Prin lucrarea de față, publicată la editura Apress, autorul își propune să ofere comunității de dezvoltatori o metodologie clară pentru lucrul cu componentele de fundal ale macOS, fiind un susținător al utilizării pattern-urilor de design moderne în comunicarea inter-procese.

Descriere scurtă

Take advantage of the full power of Swift through XPC. Development for macOS differs from iOS and web-based development because of multicomponent applications. Besides the usual GUI-based applications and app extensions, there are a wide range of daemons—processes that run in the background—to worry about. These include system monitoring, event listening, notification agents, and many-many more.

First, you'll take a tour around different types of daemons: user agents, privileged helpers, login items, XPC services, and System Extensions. Knowing key specifics of the daemons will open a wide range of possibilities from non-trivial application development to system development. You'll find lots of examples, working code samples, and even ready-to-use utilities. The book will guide you step-by-step through preparation, registration, and management of all kinds of daemons.

System Extensions are brand new for macOS and open additional powerful features for developers. You'll explore installation, user flow, and communication with System Extensions, too, with examples, of course. XPC provides an object-oriented way of communication. There’s no need for custom byte/text-based protocols. A good macOS developer has to know not only programming interfaces, but also design patterns related to technology. XPC communication has a few patterns of its own, and we'll go through them all, including uni- and bi-directional communication, passing objects by-value and by-proxy, handling connection invalidation, named and anonymous connections, and many more.

What You'll Learn
  • Use multiples types of daemons in your applications 
  • Deal with System Extensions – the new type of system daemons 
  • Get acquainted with Swift bridging patterns for XPC communication

Who This Book Is For

Software developers and solution architects with at least a working knowledge of macOS and Swift programming. As overview, may be interested for software/solution architects. 

Cuprins

Part 1. Daemons in the Wild.- Chapter 1. Operating System Background World.- Chapter 2. Daemon Anatomy.- Chapter 3. Daemon Management.- Part 2. Daemons in Detail.- Chapter 4. Daemons at a Glance.- Chapter 5. Classic Daemons.- Chapter 6. Privileded Helper.- Chapter 7. System Extension (since macOS 10.15).- Chapter 8. User Agent.- Chapter 9. XPC Service.- Chapter 10. Login Item.- Part 3. Talking to your Daemons.- Chapter 11. XPC at a Glance.- Chapter 12. Pass objects by-copy over XPC. NSSecureCoding.- Chapter 13. Pass object by proxy: the callable XPC objects.- Chapter 14. NSXPCListenerEndpoint - XPC service sharing
.

Notă biografică

Volodymyr Vashurkin (@alkenso) is an experienced macOS system and security developer and engineer. His first steps in daemonology were made while researching FileVault full disk encryption on macOS, and its interaction with iCloud services. iCloud on macOS uses plenty of system daemons and user agents, and investigating macOS’s infrastructure led to a solid understanding of how the background world of macOS works. This led him deeply into the development of security solutions for macOS. Working in the security area, Volodymyr gained practical skills for creating GUI-based applications with fewer user agents (user background processes) and root daemons (root'ed background processes). In developing his knowledge and skills, Volodymyr faced numerous tricky cases, lack of documentation, and minor and major documentation gaffes. He would like to help his readers avoid the same pitfalls.

Caracteristici

Understand macOS daemons—the world beyond shiny GUI apps Use the flexibility and power of dameons and agents to build multicomponent applications Dive into approaches and techniques of communication across processes using XPC connection