REALbasic Cross-Platform Application Developmenttreats REALbasic as a serious development environment and is targeted to developers with a minimum of programming experience, but who may or may not be new to the REALbasic platform. Written by a writer and developer with extensive REALbasic experience
REALbasic cross-platform application development Includes index
✍ Scribed by Choate, Mark S
- Publisher
- Sams Publishing
- Year
- 2006
- Tongue
- English
- Leaves
- 673
- Series
- Safari Books Online;Developer's Library
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
REALbasic Cross-Platform Application Developmenttreats REALbasic as a serious development environment and is targeted to developers with a minimum of programming experience, but who may or may not be new to the REALbasic platform. Written by a writer and developer with extensive REALbasic experience with input and guidance from REAL Software, this book will show you how to take advantage of the new cross-platform abilities of REALbasic and teach you how to create cross-platform applications. Don't waste any more time with the other novice-oriented REALbasic books out there. Get inside this development environment withREALbasic Cross-Platform Application Development.
✦ Table of Contents
Cover......Page 1
Contents......Page 5
Chapter 2, Introduction to Programming with REALbasic......Page 18
Chapter 9, Networking and Internet Programming......Page 19
Appendix......Page 20
1 Introduction to REALbasic......Page 22
Deciding if REALbasic Is Right for You......Page 23
Strengths and Weaknesses......Page 24
What You Can Expect......Page 25
Defining a Computer Program......Page 28
REALBasic Terminology......Page 29
Quick Start: A Simple Web Browser......Page 31
Controls......Page 32
Events......Page 34
Procedural Programming in REALbasic......Page 35
Expressions: Operands and Operators......Page 36
Variables and Literals......Page 37
Intrinsic Data Types......Page 38
Declaration......Page 39
Variables and Constants......Page 40
Arithmetic with Integers, Singles, and Doubles......Page 41
Strings......Page 48
Literals......Page 49
Visual Basic Data Types......Page 50
Methods......Page 51
Arrays......Page 52
If…Then…Elseif…Then......Page 60
Select Case......Page 61
Do…Loop......Page 63
Do Until…Loop......Page 64
For…Next…Step......Page 65
While…Wend......Page 67
Nesting Loops......Page 68
Variants and Operators......Page 69
Properties......Page 70
Methods......Page 71
VarType......Page 72
When to Use Variants......Page 73
Built-in Math Functions......Page 75
Built-in String Functions......Page 78
Create a New Project......Page 89
Creating a Module......Page 90
Access Scope......Page 91
Constants......Page 92
Properties......Page 93
Adding the “Split” Method......Page 94
Summary......Page 98
The Class Hierarchy......Page 100
Creating a New Class......Page 104
Declaration and Instantiation......Page 105
Constructors and Destructors......Page 106
Garbage Collection......Page 108
Inheritance......Page 109
Object Operators......Page 110
Adding and Overriding Methods......Page 111
Overloading......Page 112
Casting......Page 113
Oddities......Page 114
Encapsulation......Page 117
Access Scope: Public, Private, Protected......Page 119
Default and Optional Parameters......Page 120
Revisiting the StringParser Module......Page 121
The Dictionary Class......Page 124
The Properties File Format......Page 125
Properties.Constructor......Page 128
Properties.get......Page 129
Properties.parsePropertyFile......Page 131
Properties.parseLine:......Page 132
Date Class......Page 134
MemoryBlock Class......Page 137
Collection Class......Page 142
Interfaces and Component-Oriented Programming......Page 143
Custom Operator Overloading......Page 152
Conclusion......Page 158
4 Cross-Platform Application Development......Page 160
Swing......Page 161
Compiling REALbasic Applications......Page 162
Compiling Applications......Page 163
Configuring the Compiler......Page 166
App Properties Pane......Page 168
Files and Directory Organization......Page 175
Referencing a FolderItem: Paths and URLs......Page 176
How Folders and Files Are Organized......Page 181
File Types......Page 190
Navigating the Directory Tree......Page 192
File Properties......Page 193
Permissions and File Access......Page 195
Moving, Copying, and Deleting Files......Page 197
Opening, Creating, and Saving Files......Page 200
Compiler Directives......Page 203
User Interface Differences......Page 205
Windows:Taskbar......Page 207
Macintosh: Dock......Page 208
Keyboard......Page 209
Screen......Page 213
Environment Variables......Page 215
Line Endings......Page 220
Windows Registry......Page 221
Exporting and Importing Items......Page 222
Creating the Preferences Class......Page 223
A Final Word About Macintosh......Page 228
Summary......Page 229
5 Designing a Desktop Application......Page 230
IDE MenuItems......Page 231
Preferences......Page 234
Desktop Applications: Programming Graphical User Interfaces......Page 236
Event-Driven Programming......Page 237
Controls and Events......Page 238
App Events......Page 239
Organizing Your Code......Page 241
The RSSReader Application......Page 242
Controller......Page 243
The Model......Page 246
Simple Windows......Page 256
Editing Windows......Page 261
Windows ID Properties......Page 263
Windows Position Properties......Page 264
Windows Appearance Properties......Page 266
Window States......Page 273
Mouse Position......Page 274
The RectControl Class......Page 275
Control Order and Control Arrays......Page 279
Binding......Page 280
TabPanel......Page 283
EditField Control......Page 285
ListBox......Page 294
HTTPSocket Control......Page 313
ProgressBar......Page 314
Runtime Exceptions......Page 315
Try…Catch…End/Finally......Page 316
Logging......Page 317
Debugger......Page 319
Timers......Page 322
Menus and Menu Handlers......Page 329
Adding Menu Constants......Page 330
Adding the MenuItems......Page 331
Adding Menu Handlers......Page 333
CustomTray......Page 336
Summary......Page 337
Encoding......Page 338
Converting Encodings......Page 341
XML and HTML Entity Encoding......Page 345
Detecting Encoding in XML Documents......Page 346
Document Node......Page 347
XMLDocument......Page 349
XMLReader......Page 360
XML and Object Instantiation......Page 385
Regular Expressions......Page 399
Replacing Text......Page 409
Text Validation and Variable Substitution......Page 410
Variable Substitution in the Properties Class......Page 414
StyledText......Page 416
Apply Styles......Page 418
Summary......Page 423
7 Console Programming and the Shell......Page 424
Sample Applications......Page 427
Shell Properties......Page 428
Shell Events......Page 429
Subclassing the Shell......Page 430
Subversion......Page 435
Ant Shell......Page 440
Transformer: Command-Line XML Transformation......Page 452
CGI Application......Page 457
Conclusion......Page 467
8 Databases......Page 468
The No-Code Database......Page 469
DataControl......Page 475
DatabaseQuery Control......Page 482
The Database Classes......Page 484
SQL Equivalents......Page 498
Select and Joins......Page 500
Trigger......Page 503
Conclusion......Page 504
9 Networking and Internet Programming......Page 506
URLs, Domain Names, and Hosts......Page 507
The Protocol Stack......Page 508
Network Layer......Page 509
REALbasic Networking Classes......Page 510
Network Object......Page 511
Network Interface Class......Page 512
SocketCore Class......Page 513
Sending and Receiving Data......Page 514
SocketCore Properties......Page 515
TCPSocket......Page 516
From CGI to HTTPServer......Page 525
The HTTPServer Application......Page 528
Handling POST Requests: Posting Forms and Transferring Files......Page 531
Uploading a File......Page 534
IPCSocket Class......Page 546
UDPSocket......Page 547
Conclusion......Page 548
Raster and Vector Graphics......Page 550
The Graphics Class......Page 551
Picture Class......Page 554
FolderItems and Pictures......Page 555
More Picture Properties......Page 556
Canvas Properties......Page 557
Canvas Events......Page 558
The Canvas Control—Scrolling Text and Images......Page 559
Object2D Class......Page 569
Group2D......Page 575
Printing with REALbasic......Page 579
StyledTextPrinter......Page 581
Summary......Page 587
Scripting......Page 588
RBScript......Page 589
Office Automation......Page 592
Declares......Page 607
Plug-ins......Page 610
Summary......Page 612
Sample Code and Application......Page 614
Preamble......Page 615
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION, AND MODIFICATION......Page 616
How to Apply These Terms to Your New Programs......Page 620
Preamble......Page 621
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION, AND MODIFICATION......Page 623
How to Apply These Terms to Your New Libraries......Page 629
Online Resources......Page 630
A......Page 632
C......Page 635
D......Page 640
E......Page 643
F......Page 645
G......Page 646
H......Page 647
I......Page 648
L......Page 650
M......Page 651
N......Page 655
O......Page 656
P......Page 658
R......Page 661
S......Page 663
T......Page 667
U......Page 669
W......Page 670
X-Y......Page 672
Z......Page 673
📜 SIMILAR VOLUMES
Develop powerful cross-platform applications with Xamarin About This Book Write native cross-platform applications with Xamarin Design user interfaces that can be shared across Android, iOS, and Windows Phone using Xamarin.Forms Practical cross-platform development strategies Who This Book Is For If
2nd Edition. — Packt Publishing, 2015. — 462 p. — ISBN-13: 9781784397883.<br/>На англ. языке.<br/> <br/>Developing a mobile application for just one platform is becoming a thing of the past. Companies expect their apps to be supported on both iOS and Android, while leveraging the best native feature
2nd Edition. — Packt Publishing, 2015. — 462 p. — ISBN-13: 9781784397883.<br/>На англ. языке.<br/> <br/>Developing a mobile application for just one platform is becoming a thing of the past. Companies expect their apps to be supported on both iOS and Android, while leveraging the best native feature
This revised and expanded guide teaches you how to use .NET MAUI for cross-platform development. You will learn how to handle data with the MVVM model, use Blazor UI tools, and migrate from Xamarin.Forms for modern hybrid app development.