SlideShare a Scribd company logo
1 of 36
Salesforce.com


               2011.11.30 Salesforce.com




11   11   30
•   Apex

               •   Apex

               •   Apex

               •   Apex

               •

11   11   30
Apex

     • Force.comIDE
                      Force.comIDE




11   11   30
Apex

     • Force.comIDE
                  Installer




11   11   30
Apex

     • Force.comIDE
                        IDE




11   11   30
Apex

     • Force.com
          •[File] ➤ [New] ➤ [Force.com Project]

          •[Project name]    Force.com_

          •[Username][Password]                       ID

          •[Environment] [Production/Developer Edition]




11   11   30
Apex

     • Force.com
          •    [   ]          Force.com




          •


11   11   30
Apex

     •
          •Force.com
          •[   ] ➤[    ] ➤[   ]

          •




11   11   30
Apex

     • Force.com
          •Force.comIDE          [Security Token]




          •[Next]

          •[Finish]




11   11   30
Apex

     • Force.com
          •

               Apex     Visualforce




11   11   30
Apex

     • Apex
          •Visualforce

          •

          •

          •     Web




11   11   30
Apex

     • Apex




11   11   30
Apex

     • Apex
          •Package Explorer             [classes]

          •[New] ➤[Apex Class]

          •[Name]     TaskDao

          •                      [Finish]




11   11   30
Apex

     • Apex




11   11   30
Apex

     • Apex
          •getAllActiveTasks

          •                getAllActiveTasks

          •

          •         List<Task__c>


                  Ctrl+Space




11   11   30
Apex

     • Apex
          •                                              SOQL



          •                          Id,Name,TaskName__c,StartDate__c

          •                                  Task__c

          •
          •

     ※              Date          today
               Date today = Date.today();

11   11   30
Apex

     • Apex
          •




11   11   30
Apex

     • Apex
          •Force.comIDE           [Execute Anonymous]

          •
                      List<Task__c> taskList = TaskDao.getAllActiveTasks();
                      System.debug('               '+taskList.size());

                      for(Task__c task : taskList){
                      	

   System.debug('                    ' + task.TaskName__c);
                      	

   System.debug('                 ' + task.StartDate__c);
                      }


          •                    [Execute Anonymous]

          •Results

11   11   30
Apex

     •             (Test Driven Development)

               Test First




11   11   30
Apex

     •
          •Package Explorer              [classes]

          •[New] ➤[Apex Class]

          •[Name]       TaskDaoTest

          •[Template]     Test Class

          •                       [Finish]



11   11   30
Apex

     •
               •

               •

               •

               •

               •

11   11   30
Apex

     •
          •




11   11   30
Apex

     •
          •Package Explorer             [TaskDaoTest]

          •[Force.com] ➤[Run Tests]

          •                [Apex Test Runner]

          •




11   11   30
Apex

     •
          •                             assertEquals   [0]   [1]

          •[Force.com] ➤[Run Tests]

          •                [Apex Test Runner]

          •Failures

          •Expected            Actual

11   11   30
Apex

     •
               Apex




11   11   30
Apex

     •
                      if(age > 0){
                          logicA
                      }else{
                          logicB
                      }

     age 0                 1
                                     100%
                               age
     (age 3    9999                  )


11   11   30
Apex

     •
          •Force.com

          •[   ] ➤[    ] ➤[Apex   ]

          •[                          ]

          •




11   11   30
Apex

     • Apex
          •

          •

          •




11   11   30
Apex

     • Apex




11   11   30
Apex

     •
          •
          •    Status

          •
          •
          •


11   11   30
Apex

     • Apex
          •Package Explorer             [triggers]

          •[New] ➤[Apex Trigger]
          •[Name]     MemberStatusUpdateTrigger

          •[Object]    Task__c

          •[Apex Trigger Operations]    after insert   after update



          •[Finish]

11   11   30
Apex

     • Apex

           •




11   11   30
Apex

     • Apex




11   11   30
•
          •Apex        Servlet

          •Force.com



          •API




11   11   30
•                                  (API               22.0)

                                SOQL                         100

                     SQOL                                   50,000

                                 SOSL                         20

                            DML                              150

               DML                                          10,000

                            Script                          200,000

                               heap                         3Mbyte

                                                              10

                                                              10

                                               Force.com

11   11   30
•   Apex
                    →Force.com IDE
               •   Apex
                    →
               •   Apex
                    →
               •   Apex
                    →Apex
               •
                    →Apex
11   11   30

More Related Content

What's hot

Streamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache AmbariStreamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache AmbariAlejandro Fernandez
 
Introducción rápida a SQL
Introducción rápida a SQLIntroducción rápida a SQL
Introducción rápida a SQLCarlos Hernando
 
Make your gui shine with ajax solr
Make your gui shine with ajax solrMake your gui shine with ajax solr
Make your gui shine with ajax solrlucenerevolution
 
Mastering power shell - Windows
Mastering power shell - WindowsMastering power shell - Windows
Mastering power shell - WindowsAriel Devulsky
 
Deep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interfaceDeep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interfaceJohn Varghese
 
Streamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache AmbariStreamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache AmbariJayush Luniya
 
Demystifying PostgreSQL (Zendcon 2010)
Demystifying PostgreSQL (Zendcon 2010)Demystifying PostgreSQL (Zendcon 2010)
Demystifying PostgreSQL (Zendcon 2010)NOLOH LLC.
 
Demystifying PostgreSQL
Demystifying PostgreSQLDemystifying PostgreSQL
Demystifying PostgreSQLNOLOH LLC.
 
Power shell voor developers
Power shell voor developersPower shell voor developers
Power shell voor developersDennis Vroegop
 

What's hot (14)

Streamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache AmbariStreamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache Ambari
 
SQL introduction
SQL introductionSQL introduction
SQL introduction
 
Introducción rápida a SQL
Introducción rápida a SQLIntroducción rápida a SQL
Introducción rápida a SQL
 
Make your gui shine with ajax solr
Make your gui shine with ajax solrMake your gui shine with ajax solr
Make your gui shine with ajax solr
 
Mastering power shell - Windows
Mastering power shell - WindowsMastering power shell - Windows
Mastering power shell - Windows
 
Deep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interfaceDeep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interface
 
Streamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache AmbariStreamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache Ambari
 
119764860 dx-auth
119764860 dx-auth119764860 dx-auth
119764860 dx-auth
 
Demystifying PostgreSQL (Zendcon 2010)
Demystifying PostgreSQL (Zendcon 2010)Demystifying PostgreSQL (Zendcon 2010)
Demystifying PostgreSQL (Zendcon 2010)
 
Demystifying PostgreSQL
Demystifying PostgreSQLDemystifying PostgreSQL
Demystifying PostgreSQL
 
Oak / Solr integration
Oak / Solr integrationOak / Solr integration
Oak / Solr integration
 
Sql query patterns, optimized
Sql query patterns, optimizedSql query patterns, optimized
Sql query patterns, optimized
 
Power shell voor developers
Power shell voor developersPower shell voor developers
Power shell voor developers
 
Scala active record
Scala active recordScala active record
Scala active record
 

Similar to 第三回Salesforce勉強会

Functional Stream Processing with Scalaz-Stream
Functional Stream Processing with Scalaz-StreamFunctional Stream Processing with Scalaz-Stream
Functional Stream Processing with Scalaz-StreamAdil Akhter
 
The Ring programming language version 1.7 book - Part 93 of 196
The Ring programming language version 1.7 book - Part 93 of 196The Ring programming language version 1.7 book - Part 93 of 196
The Ring programming language version 1.7 book - Part 93 of 196Mahmoud Samir Fayed
 
Salesforce Basic Development
Salesforce Basic DevelopmentSalesforce Basic Development
Salesforce Basic DevelopmentNaveen Dhanaraj
 
Troubleshooting APEX Performance Issues
Troubleshooting APEX Performance IssuesTroubleshooting APEX Performance Issues
Troubleshooting APEX Performance IssuesRoel Hartman
 
Android Level 2
Android Level 2Android Level 2
Android Level 2DevMix
 

Similar to 第三回Salesforce勉強会 (8)

第二回Salesforce勉強会
第二回Salesforce勉強会第二回Salesforce勉強会
第二回Salesforce勉強会
 
Functional Stream Processing with Scalaz-Stream
Functional Stream Processing with Scalaz-StreamFunctional Stream Processing with Scalaz-Stream
Functional Stream Processing with Scalaz-Stream
 
ENOVIA v6 R2013x Tips and Tricks
ENOVIA v6 R2013x Tips and TricksENOVIA v6 R2013x Tips and Tricks
ENOVIA v6 R2013x Tips and Tricks
 
The Ring programming language version 1.7 book - Part 93 of 196
The Ring programming language version 1.7 book - Part 93 of 196The Ring programming language version 1.7 book - Part 93 of 196
The Ring programming language version 1.7 book - Part 93 of 196
 
Salesforce Basic Development
Salesforce Basic DevelopmentSalesforce Basic Development
Salesforce Basic Development
 
Troubleshooting APEX Performance Issues
Troubleshooting APEX Performance IssuesTroubleshooting APEX Performance Issues
Troubleshooting APEX Performance Issues
 
alicer LatinR - para LinkedIn.pdf
alicer LatinR - para LinkedIn.pdfalicer LatinR - para LinkedIn.pdf
alicer LatinR - para LinkedIn.pdf
 
Android Level 2
Android Level 2Android Level 2
Android Level 2
 

More from 株式会社インサイト

More from 株式会社インサイト (8)

2012活動基本方針
2012活動基本方針2012活動基本方針
2012活動基本方針
 
『Salesforece.com勉強会(コンサル向け)』第2回 at 大阪
『Salesforece.com勉強会(コンサル向け)』第2回 at 大阪『Salesforece.com勉強会(コンサル向け)』第2回 at 大阪
『Salesforece.com勉強会(コンサル向け)』第2回 at 大阪
 
第四回Salesforce勉強会
第四回Salesforce勉強会第四回Salesforce勉強会
第四回Salesforce勉強会
 
20111212勉強会資料
20111212勉強会資料20111212勉強会資料
20111212勉強会資料
 
第一回Salesforce勉強会
第一回Salesforce勉強会第一回Salesforce勉強会
第一回Salesforce勉強会
 
20111014説明会資料(勉強会)
20111014説明会資料(勉強会)20111014説明会資料(勉強会)
20111014説明会資料(勉強会)
 
説明会用資料(Force.comセミナー)
説明会用資料(Force.comセミナー)説明会用資料(Force.comセミナー)
説明会用資料(Force.comセミナー)
 
キックオフ説明会20110114
キックオフ説明会20110114キックオフ説明会20110114
キックオフ説明会20110114
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

第三回Salesforce勉強会

  • 1. Salesforce.com 2011.11.30 Salesforce.com 11 11 30
  • 2. Apex • Apex • Apex • Apex • 11 11 30
  • 3. Apex • Force.comIDE Force.comIDE 11 11 30
  • 4. Apex • Force.comIDE Installer 11 11 30
  • 5. Apex • Force.comIDE IDE 11 11 30
  • 6. Apex • Force.com •[File] ➤ [New] ➤ [Force.com Project] •[Project name] Force.com_ •[Username][Password] ID •[Environment] [Production/Developer Edition] 11 11 30
  • 7. Apex • Force.com • [ ] Force.com • 11 11 30
  • 8. Apex • •Force.com •[ ] ➤[ ] ➤[ ] • 11 11 30
  • 9. Apex • Force.com •Force.comIDE [Security Token] •[Next] •[Finish] 11 11 30
  • 10. Apex • Force.com • Apex Visualforce 11 11 30
  • 11. Apex • Apex •Visualforce • • • Web 11 11 30
  • 12. Apex • Apex 11 11 30
  • 13. Apex • Apex •Package Explorer [classes] •[New] ➤[Apex Class] •[Name] TaskDao • [Finish] 11 11 30
  • 14. Apex • Apex 11 11 30
  • 15. Apex • Apex •getAllActiveTasks • getAllActiveTasks • • List<Task__c> Ctrl+Space 11 11 30
  • 16. Apex • Apex • SOQL • Id,Name,TaskName__c,StartDate__c • Task__c • • ※ Date today Date today = Date.today(); 11 11 30
  • 17. Apex • Apex • 11 11 30
  • 18. Apex • Apex •Force.comIDE [Execute Anonymous] • List<Task__c> taskList = TaskDao.getAllActiveTasks(); System.debug(' '+taskList.size()); for(Task__c task : taskList){ System.debug(' ' + task.TaskName__c); System.debug(' ' + task.StartDate__c); } • [Execute Anonymous] •Results 11 11 30
  • 19. Apex • (Test Driven Development) Test First 11 11 30
  • 20. Apex • •Package Explorer [classes] •[New] ➤[Apex Class] •[Name] TaskDaoTest •[Template] Test Class • [Finish] 11 11 30
  • 21. Apex • • • • • • 11 11 30
  • 22. Apex • • 11 11 30
  • 23. Apex • •Package Explorer [TaskDaoTest] •[Force.com] ➤[Run Tests] • [Apex Test Runner] • 11 11 30
  • 24. Apex • • assertEquals [0] [1] •[Force.com] ➤[Run Tests] • [Apex Test Runner] •Failures •Expected Actual 11 11 30
  • 25. Apex • Apex 11 11 30
  • 26. Apex • if(age > 0){ logicA }else{ logicB } age 0 1 100% age (age 3 9999 ) 11 11 30
  • 27. Apex • •Force.com •[ ] ➤[ ] ➤[Apex ] •[ ] • 11 11 30
  • 28. Apex • Apex • • • 11 11 30
  • 29. Apex • Apex 11 11 30
  • 30. Apex • • • Status • • • 11 11 30
  • 31. Apex • Apex •Package Explorer [triggers] •[New] ➤[Apex Trigger] •[Name] MemberStatusUpdateTrigger •[Object] Task__c •[Apex Trigger Operations] after insert after update •[Finish] 11 11 30
  • 32. Apex • Apex • 11 11 30
  • 33. Apex • Apex 11 11 30
  • 34. •Apex Servlet •Force.com •API 11 11 30
  • 35. (API 22.0) SOQL 100 SQOL 50,000 SOSL 20 DML 150 DML 10,000 Script 200,000 heap 3Mbyte 10 10 Force.com 11 11 30
  • 36. Apex →Force.com IDE • Apex → • Apex → • Apex →Apex • →Apex 11 11 30