Your SlideShare is downloading. ×
第三回Salesforce勉強会
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

第三回Salesforce勉強会

753

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
753
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Salesforce.com 2011.11.30 Salesforce.com11 11 30
  • 2. • Apex • Apex • Apex • Apex •11 11 30
  • 3. Apex • Force.comIDE Force.comIDE11 11 30
  • 4. Apex • Force.comIDE Installer11 11 30
  • 5. Apex • Force.comIDE IDE11 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 Visualforce11 11 30
  • 11. Apex • Apex •Visualforce • • • Web11 11 30
  • 12. Apex • Apex11 11 30
  • 13. Apex • Apex •Package Explorer [classes] •[New] ➤[Apex Class] •[Name] TaskDao • [Finish]11 11 30
  • 14. Apex • Apex11 11 30
  • 15. Apex • Apex •getAllActiveTasks • getAllActiveTasks • • List<Task__c> Ctrl+Space11 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] •Results11 11 30
  • 19. Apex • (Test Driven Development) Test First11 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 Actual11 11 30
  • 25. Apex • Apex11 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 • Apex11 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 • Apex11 11 30
  • 34. • •Apex Servlet •Force.com •API11 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.com11 11 30
  • 36. • Apex →Force.com IDE • Apex → • Apex → • Apex →Apex • →Apex11 11 30

×