upload/misc/ThoseBooks/Computers & Technology/Networking & Cloud Computing/Development with the Force.com Platform Building Business Applications in the Cloud (9780321949165, 2013)/development-with-the-forcecom-jason-ouellette(ThoseBooks).pdf
Development with the Force.com Platform: Building Business Applications in the Cloud (3rd Edition) (Developer's Library) 🔍
Jason Ouellette
Addison-Wesley Professional, Pearson Education (US), [N.p.], 2013
英语 [en] · PDF · 6.2MB · 2013 · 📗 未知类型的图书 · 🚀/upload · Save
描述
Annotation, Master Force.com, Today's Fastest, Most Flexible Cloud Development Platform With Salesforce.com's Force.com platform, you can build and deploy powerful cloud-based enterprise applications faster than ever before. Now, Jason Ouellette gives you all the practical, technical guidance you need to make the most of the newest Force.com releases in your own custom cloud applications. Throughout, he adds new code and updated best practices for rapidly prototyping, building, and testing production-quality Force.com solutions. This edition's extensive new coverage includes Developer Console, JSON, Streaming and Tooling APIs, Bulk API, Force.com Canvas, REST integration, support for Web MVC frameworks, Dynamic Apex and Visualforce, and an all-new chapter on mobile user interfaces. Ouellette covers the entire platform: UIs, database design, analytics, security, and many other topics. His code examples emphasize maintainability, flexibility, and seamless integration--and you can run and adapt all of them with a free Force.com Developer Edition account. Coverage includes: Leveraging Force.com's customizable infrastructure to deliver advanced Platform-as-a-Service (PaaS) solutions Understanding Force.com's unique processes, tools, and architecture Developing a complete application, from requirements and use cases through deployment Using the Force.com database as a framework for highly flexible, maintainable applications Applying Force.com's baked-in security, including user identity, data ownership, and fine-grained access control Constructing powerful business logic with Apex, SOQL, and SOSL Adopting asynchronous actions, Single Page Applications, and other advanced features in Web user interfaces Building intuitive user interfaces with Visualforce, and extending them to public-facing websites and mobile devices Creating smartphone/tablet-friendly apps with HTML5 and Visualforce Performing massive data-intensive tasks offline with Batch Apex Using Force.com integration options, including REST, SOAP, Canvas, and the Streaming, Bulk, Tooling, and Metadata APIs Developing internal social applications with Force.com's Chatter collaboration tools If you're already building Web or mobile applications, take your next giant step into enterprise cloud development--with Development with the Force.com Platform, Third Edition. All code examples in this book are available on Github at http://goo.gl/fjRqMX, and as a Force.com IDE project on Github at https://github.com/jmouel/dev-with-force-3e
备选作者
Ouellette, Jason
备用出版商
Addison-Wesley Longman, Incorporated
备用出版商
Longman Publishing
备用出版商
Adobe Press
备用版本
Developer's library, Third edition, Upper Saddle River, NJ, 2014
备用版本
3rd ed, Upper Saddle River, NJ, 2013, 2013, ©2014
备用版本
United States, United States of America
备用版本
Dec 13, 2013
备用版本
3, PT, 2013
备用描述
Table of Contents 8
1 Introducing Force.com 20
Force.com in the Cloud Computing Landscape 20
Platform as a Service (PaaS) 21
Force.com as a Platform 23
Force.com Services 26
Inside a Force.com Project 28
Project Selection 28
Team Selection 30
Lifecycle 31
Tools and Resources 34
Sample Application: Services Manager 36
Background 36
User Roles 37
Development Plan 38
Summary 38
2 Database Essentials 40
Overview of Force.com’s Database 40
Objects 41
Fields 42
Relationships 44
Query Language 45
Data Integration 48
Working with Custom Objects 51
Force.com Developer Edition 51
Tools for Custom Objects 52
Object Creation 54
Field Creation 57
Entering and Browsing Data 60
Additional Database Features 62
Sample Application: Data Model 68
Data Model Design Goals 68
Data Model Specification 69
Implementing the Data Model 77
Importing Data 83
Summary 88
3 Database Security 90
Overview of Database Security 90
Object-Level Security 93
Profiles 93
Permission Sets 95
Field-Level Security 96
Record-Level Security 98
Record Ownership 98
User Groups 99
Sharing Model 99
Sample Application: Securing Data 103
Designing the Security Model 104
Implementing the Security Model 107
Testing the Security Model 113
Summary 117
4 Business Logic 118
Introduction to Apex 119
Introducing the Force.com IDE 120
Installation 120
Force.com Perspective 120
Force.com Projects 122
Problems View 122
Schema Explorer 122
Apex Test Runner View 122
Execute Anonymous View 123
Apex Language Basics 124
Variables 124
Operators 128
Arrays and Collections 129
Control Logic 132
Object-Oriented Apex 136
Understanding Governor Limits 139
Database Integration in Apex 139
Database Records as Objects 140
Database Queries 141
Persisting Database Records 147
Database Triggers 149
Database Security in Apex 152
Debugging Apex Using Developer Console 152
Checkpoints 152
Execution Logs 153
Unit Tests in Apex 155
Test Methods 155
Test Data 155
Running Tests 156
Sample Application: Validating Timecards 157
Force.com IDE Setup 157
Creating the Trigger 157
Unit Testing 159
Summary 161
5 Advanced Business Logic 162
Aggregate SOQL Queries 163
Aggregate Functions 163
Grouping Records 164
Grouping Records with Subtotals 165
Additional SOQL Features 167
Inner Join and Outer Join 167
Semi-Join and Anti-Join 169
Multi-Select Picklists 173
Salesforce Object Search Language (SOSL) 173
SOSL Basics 174
SOSL in Apex 174
Transaction Processing 175
Data Manipulation Language (DML) Database Methods 176
Savepoints 178
Record Locking 180
Apex Managed Sharing 181
Sharing Objects 181
Creating Sharing Rules in Apex 182
Sending and Receiving Email 187
Sending Email 187
Receiving Email 191
Dynamic Apex 193
Dynamic Database Queries 194
Schema Metadata 196
Dynamic Instance Creation 198
Custom Settings in Apex 199
Sample Application: Adding Email Notifications 200
Summary 202
6 User Interfaces 204
Introduction to Visualforce 205
Overview of Visualforce 205
Getting Started with Visualforce 207
Visualforce Controllers 210
Standard Controllers 210
Custom Controllers 212
Controller Extensions 216
View Components 217
View Component Basics 217
Data Components 219
Action Components 222
Primitive Components 223
Force.com-Styled Components 224
Force.com User Interface Components 227
Visualforce and the Native User Interface 228
Standard Pages 229
Standard Buttons 232
Page Layouts 232
Custom Buttons and Links 234
Custom Tabs 234
Visualforce in Production 234
Debugging and Tuning 234
Security 237
Error Handling 239
Governor Limits 240
Unit Tests 241
Sample Application: Skills Matrix 241
Basic Implementation 243
Full Implementation 243
Implementation Walk-Through 244
Summary 251
7 Advanced User Interfaces 252
Asynchronous Actions 252
Partial Page Refresh 253
Action as JavaScript Function 254
Action as Timed Event 256
Action as JavaScript Event 256
Indicating Action Status 257
Modular Visualforce 259
Static Resources 260
Inclusion 261
Composition 261
Custom Visualforce Components 263
Dynamic Visualforce 265
Dynamic Field References 265
Component Generation 267
Single-Page Applications in Force.com 269
JavaScript Remoting 269
Force.com with AngularJS 270
Introduction to Force.com Sites 273
Enabling and Creating a Site 273
Security Configuration 274
Adding Pages to a Site 275
Authenticating Users 276
Sample Application: Enhanced Skills Matrix 277
Summary 281
8 Mobile User Interfaces 282
Overview of Salesforce Mobile Technology 282
Salesforce Applications 283
Custom Applications 284
Getting Started with Mobile Web Applications 286
Frameworks 287
Data Access 288
Deployment 289
Sample Application: Mobile Timecard Entry 291
Summary 298
9 Batch Processing 300
Introduction to Batch Apex 301
Batch Apex Concepts 301
Understanding the Batchable Interface 302
Applications of Batch Apex 303
Getting Started with Batch Apex 304
Developing a Batch Apex Class 304
Working with Batch Apex Jobs 305
Using Stateful Batch Apex 308
Using an Iterable Batch Scope 309
Limits of Batch Apex 311
Testing Batch Apex 312
Scheduling Batch Apex 312
Developing Schedulable Code 312
Scheduling Batch Apex Jobs 313
Sample Application: Missing Timecard Report 315
Creating the Custom Object 316
Developing the Batch Apex Class 317
Testing the Missing Timecard Feature 318
Summary 319
10 Integration with Force.com 320
Apex Callouts 320
Calling RESTful Services from Apex 321
Calling SOAP Services from Apex 323
Calling into Force.com Using REST 325
Getting Started with Force.com REST API 325
Force.com REST API Walk-Through 327
Creating Custom Apex REST Web Services 331
Calling into Force.com Using SOAP 333
Understanding Force.com SOAP API 333
Using the Enterprise API 341
Creating Custom Apex SOAP Web Services 345
Sample Application: Anonymous Benchmarking 348
Visualforce Page Design 349
Visualforce Controller Design 350
Integrating the SOAP Web Service 352
Sample Implementation 354
Summary 357
11 Advanced Integration 358
Introduction to the Force.com Streaming API 359
Overview 359
Getting Started with Force.com Streaming API 360
Working with the Force.com Bulk API 363
Overview 364
Importing Records 365
Exporting Records 366
Getting Started with Force.com Canvas 368
Overview 368
Getting Started with Force.com Canvas 369
Introduction to the Force.com Tooling API 373
Overview 374
Getting Started with Force.com Tooling API 374
Understanding the Force.com Metadata API 379
Overview 379
Getting Started with the Metadata API 380
Sample Application: Database Integration 382
Integration Scenario 382
Implementation Strategy 382
Sample Implementation 383
Summary 385
12 Social Applications 388
Overview of the Chatter Data Model 389
Chatter Posts 389
Chatter Comments 393
Feed-Tracked Changes 395
Followed Records 395
Using Chatter in Apex 397
Introduction to the Chatter REST API 398
Working with Chatter Visualforce Components 399
Sample Application: Follow Project Team 401
Summary 405
Index 406
A 406
B 411
C 412
D 416
E 419
F 420
G 422
H 422
I 423
J 424
K 424
L 424
M 428
N 430
O 430
P 432
Q 434
R 434
S 437
T 443
U 444
V 445
W 447
X 448
Y 448
1 Introducing Force.com 20
Force.com in the Cloud Computing Landscape 20
Platform as a Service (PaaS) 21
Force.com as a Platform 23
Force.com Services 26
Inside a Force.com Project 28
Project Selection 28
Team Selection 30
Lifecycle 31
Tools and Resources 34
Sample Application: Services Manager 36
Background 36
User Roles 37
Development Plan 38
Summary 38
2 Database Essentials 40
Overview of Force.com’s Database 40
Objects 41
Fields 42
Relationships 44
Query Language 45
Data Integration 48
Working with Custom Objects 51
Force.com Developer Edition 51
Tools for Custom Objects 52
Object Creation 54
Field Creation 57
Entering and Browsing Data 60
Additional Database Features 62
Sample Application: Data Model 68
Data Model Design Goals 68
Data Model Specification 69
Implementing the Data Model 77
Importing Data 83
Summary 88
3 Database Security 90
Overview of Database Security 90
Object-Level Security 93
Profiles 93
Permission Sets 95
Field-Level Security 96
Record-Level Security 98
Record Ownership 98
User Groups 99
Sharing Model 99
Sample Application: Securing Data 103
Designing the Security Model 104
Implementing the Security Model 107
Testing the Security Model 113
Summary 117
4 Business Logic 118
Introduction to Apex 119
Introducing the Force.com IDE 120
Installation 120
Force.com Perspective 120
Force.com Projects 122
Problems View 122
Schema Explorer 122
Apex Test Runner View 122
Execute Anonymous View 123
Apex Language Basics 124
Variables 124
Operators 128
Arrays and Collections 129
Control Logic 132
Object-Oriented Apex 136
Understanding Governor Limits 139
Database Integration in Apex 139
Database Records as Objects 140
Database Queries 141
Persisting Database Records 147
Database Triggers 149
Database Security in Apex 152
Debugging Apex Using Developer Console 152
Checkpoints 152
Execution Logs 153
Unit Tests in Apex 155
Test Methods 155
Test Data 155
Running Tests 156
Sample Application: Validating Timecards 157
Force.com IDE Setup 157
Creating the Trigger 157
Unit Testing 159
Summary 161
5 Advanced Business Logic 162
Aggregate SOQL Queries 163
Aggregate Functions 163
Grouping Records 164
Grouping Records with Subtotals 165
Additional SOQL Features 167
Inner Join and Outer Join 167
Semi-Join and Anti-Join 169
Multi-Select Picklists 173
Salesforce Object Search Language (SOSL) 173
SOSL Basics 174
SOSL in Apex 174
Transaction Processing 175
Data Manipulation Language (DML) Database Methods 176
Savepoints 178
Record Locking 180
Apex Managed Sharing 181
Sharing Objects 181
Creating Sharing Rules in Apex 182
Sending and Receiving Email 187
Sending Email 187
Receiving Email 191
Dynamic Apex 193
Dynamic Database Queries 194
Schema Metadata 196
Dynamic Instance Creation 198
Custom Settings in Apex 199
Sample Application: Adding Email Notifications 200
Summary 202
6 User Interfaces 204
Introduction to Visualforce 205
Overview of Visualforce 205
Getting Started with Visualforce 207
Visualforce Controllers 210
Standard Controllers 210
Custom Controllers 212
Controller Extensions 216
View Components 217
View Component Basics 217
Data Components 219
Action Components 222
Primitive Components 223
Force.com-Styled Components 224
Force.com User Interface Components 227
Visualforce and the Native User Interface 228
Standard Pages 229
Standard Buttons 232
Page Layouts 232
Custom Buttons and Links 234
Custom Tabs 234
Visualforce in Production 234
Debugging and Tuning 234
Security 237
Error Handling 239
Governor Limits 240
Unit Tests 241
Sample Application: Skills Matrix 241
Basic Implementation 243
Full Implementation 243
Implementation Walk-Through 244
Summary 251
7 Advanced User Interfaces 252
Asynchronous Actions 252
Partial Page Refresh 253
Action as JavaScript Function 254
Action as Timed Event 256
Action as JavaScript Event 256
Indicating Action Status 257
Modular Visualforce 259
Static Resources 260
Inclusion 261
Composition 261
Custom Visualforce Components 263
Dynamic Visualforce 265
Dynamic Field References 265
Component Generation 267
Single-Page Applications in Force.com 269
JavaScript Remoting 269
Force.com with AngularJS 270
Introduction to Force.com Sites 273
Enabling and Creating a Site 273
Security Configuration 274
Adding Pages to a Site 275
Authenticating Users 276
Sample Application: Enhanced Skills Matrix 277
Summary 281
8 Mobile User Interfaces 282
Overview of Salesforce Mobile Technology 282
Salesforce Applications 283
Custom Applications 284
Getting Started with Mobile Web Applications 286
Frameworks 287
Data Access 288
Deployment 289
Sample Application: Mobile Timecard Entry 291
Summary 298
9 Batch Processing 300
Introduction to Batch Apex 301
Batch Apex Concepts 301
Understanding the Batchable Interface 302
Applications of Batch Apex 303
Getting Started with Batch Apex 304
Developing a Batch Apex Class 304
Working with Batch Apex Jobs 305
Using Stateful Batch Apex 308
Using an Iterable Batch Scope 309
Limits of Batch Apex 311
Testing Batch Apex 312
Scheduling Batch Apex 312
Developing Schedulable Code 312
Scheduling Batch Apex Jobs 313
Sample Application: Missing Timecard Report 315
Creating the Custom Object 316
Developing the Batch Apex Class 317
Testing the Missing Timecard Feature 318
Summary 319
10 Integration with Force.com 320
Apex Callouts 320
Calling RESTful Services from Apex 321
Calling SOAP Services from Apex 323
Calling into Force.com Using REST 325
Getting Started with Force.com REST API 325
Force.com REST API Walk-Through 327
Creating Custom Apex REST Web Services 331
Calling into Force.com Using SOAP 333
Understanding Force.com SOAP API 333
Using the Enterprise API 341
Creating Custom Apex SOAP Web Services 345
Sample Application: Anonymous Benchmarking 348
Visualforce Page Design 349
Visualforce Controller Design 350
Integrating the SOAP Web Service 352
Sample Implementation 354
Summary 357
11 Advanced Integration 358
Introduction to the Force.com Streaming API 359
Overview 359
Getting Started with Force.com Streaming API 360
Working with the Force.com Bulk API 363
Overview 364
Importing Records 365
Exporting Records 366
Getting Started with Force.com Canvas 368
Overview 368
Getting Started with Force.com Canvas 369
Introduction to the Force.com Tooling API 373
Overview 374
Getting Started with Force.com Tooling API 374
Understanding the Force.com Metadata API 379
Overview 379
Getting Started with the Metadata API 380
Sample Application: Database Integration 382
Integration Scenario 382
Implementation Strategy 382
Sample Implementation 383
Summary 385
12 Social Applications 388
Overview of the Chatter Data Model 389
Chatter Posts 389
Chatter Comments 393
Feed-Tracked Changes 395
Followed Records 395
Using Chatter in Apex 397
Introduction to the Chatter REST API 398
Working with Chatter Visualforce Components 399
Sample Application: Follow Project Team 401
Summary 405
Index 406
A 406
B 411
C 412
D 416
E 419
F 420
G 422
H 422
I 423
J 424
K 424
L 424
M 428
N 430
O 430
P 432
Q 434
R 434
S 437
T 443
U 444
V 445
W 447
X 448
Y 448
开源日期
2024-06-27
🚀 快速下载
成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
如果您在本月捐款,您将获得双倍的快速下载次数。
🐢 低速下载
由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)
- 低速服务器(合作方提供) #1 (稍快但需要排队)
- 低速服务器(合作方提供) #2 (稍快但需要排队)
- 低速服务器(合作方提供) #3 (稍快但需要排队)
- 低速服务器(合作方提供) #4 (稍快但需要排队)
- 低速服务器(合作方提供) #5 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #6 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #7 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #8 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #9 (无需排队,但可能非常慢)
- 下载后: 在我们的查看器中打开
所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
外部下载
-
对于大文件,我们建议使用下载管理器以防止中断。
推荐的下载管理器:JDownloader -
您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
推荐的电子书阅读器:Anna的档案在线查看器、ReadEra和Calibre -
使用在线工具进行格式转换。
推荐的转换工具:CloudConvert和PrintFriendly -
您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
推荐的工具:亚马逊的“发送到 Kindle”和djazz 的“发送到 Kobo/Kindle” -
支持作者和图书馆
✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。
下面的文字仅以英文继续。
总下载量:
“文件的MD5”是根据文件内容计算出的哈希值,并且基于该内容具有相当的唯一性。我们这里索引的所有影子图书馆都主要使用MD5来标识文件。
一个文件可能会出现在多个影子图书馆中。有关我们编译的各种数据集的信息,请参见数据集页面。
有关此文件的详细信息,请查看其JSON 文件。 Live/debug JSON version. Live/debug page.