Skip to content

Commit ead915d

Browse files
Merge pull request #21 from apex-enterprise-patterns/feature/migration-to-sfdx-format
Feature/migration to sfdx format
2 parents 852ff8b + 4baa413 commit ead915d

File tree

195 files changed

+877
-2172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+877
-2172
lines changed

.gitignore

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,39 @@
1+
# General Project related
2+
.DS_Store
3+
target/
4+
temp/
5+
/deploy/*
6+
/debug/
7+
**/dep-dir.txt
8+
*.prefs
9+
build.properties
10+
sfdx-source/apex-common-samplecode/main/default/
11+
sfdx-source/untracked/
12+
.execanon
113

2-
fflib-sample-code/.settings/com.salesforce.ide.core.prefs
14+
# MavensMate IDE related
15+
*mm.log
16+
*.sublime-build
17+
*.sublime-project
18+
*.sublime-settings
19+
*.sublime-workspace
20+
.sublime-project
21+
.tm_properties
322

4-
fflib-sample-code/salesforce.schema
23+
# Eclipse IDE Related
24+
.project
25+
.settings/
26+
salesforce.schema
27+
Referenced Packages/
28+
29+
# VS Code IDE Related
30+
.vscode/
31+
.history/
32+
33+
# SFDX Related
34+
.sfdx/
35+
36+
# NPM Related
37+
package.json
38+
/node_modules
39+
package-lock.json

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
FFLib Apex Common Sample
22
========================
33

4-
[![Build Status](https://travis-ci.org/apex-enterprise-patterns/fflib-apex-common-samplecode.svg)](https://travis-ci.org/apex-enterprise-patterns/fflib-apex-common-samplecode)
4+
**Dependencies:** Must deploy [Apex Mocks](https://github.com/apex-enterprise-patterns/fflib-apex-mocks) and [Apex Common](https://github.com/apex-enterprise-patterns/fflib-apex-common) before deploying this library
55

6-
**Dependencies:** Must deploy [Apex Common ](https://github.com/apex-enterprise-patterns/fflib-apex-common) before deploying this library
6+
Deploy Apex Mocks
7+
<a href="https://githubsfdeploy.herokuapp.com?owner=apex-enterprise-patterns&repo=fflib-apex-mocks">
8+
<img alt="Deploy to Salesforce"
9+
src="https://raw.githubusercontent.com/afawcett/githubsfdeploy/master/src/main/webapp/resources/img/deploy.png">
10+
</a>
11+
12+
Deploy Apex Common
13+
<a href="https://githubsfdeploy.herokuapp.com?owner=apex-enterprise-patterns&repo=fflib-apex-common">
14+
<img alt="Deploy to Salesforce"
15+
src="https://raw.githubusercontent.com/afawcett/githubsfdeploy/master/src/main/webapp/resources/img/deploy.png">
16+
</a>
717

18+
Deploy Apex Common Sample Code
819
<a href="https://githubsfdeploy.herokuapp.com?owner=apex-enterprise-patterns&repo=fflib-apex-common-samplecode">
920
<img alt="Deploy to Salesforce"
1021
src="https://raw.githubusercontent.com/afawcett/githubsfdeploy/master/src/main/webapp/resources/img/deploy.png">
@@ -13,14 +24,14 @@ FFLib Apex Common Sample
1324
Sample Application
1425
==================
1526

16-
This repository contains a sample application illustrating the Apex Enterprise Patterns library. The aim is to illustrate fullly working sample application to better illustrate the patterns in presentations and articles.
27+
This repository contains a sample application illustrating the Apex Enterprise Patterns library. The aim is to illustrate fullly working sample application to better illustrate the patterns in presentations and articles. You can see a [demo of this application in the Dreamforce 2013 session](http://www.youtube.com/watch?v=qlq46AEAlLI#t=572) presented by @afawcett
1728

1829
**NOTE:** The supporting **Apex Common** library can be found [here](https://github.com/apex-enterprise-patterns/fflib-apex-common).
1930

2031
![Alt text](/images/sampleappoverview.png "Optional title")
2132

22-
Application Enterprise Patterns on Force.com
23-
============================================
33+
Application Enterprise Patterns on Salesforce Lightning Platform
34+
================================================================
2435

2536
Design patterns are an invaluable tool for developers and architects looking to build enterprise solutions. Here are presented some tried and tested enterprise application engineering patterns that have been used in other platforms and languages. We will discuss and illustrate how patterns such as Data Mapper, Service Layer, Unit of Work and of course Model View Controller can be applied to Force.com. Applying these patterns can help manage governed resources (such as DML) better, encourage better separation-of-concerns in your logic and enforce Force.com coding best practices.
2637

@@ -31,13 +42,12 @@ Dreamforce Session and Slides
3142
- Video recording of the **Dreamforce 2013** session [here](http://www.youtube.com/watch?v=qlq46AEAlLI).
3243
- View slides for the **Dreamforce 2015** session [here](http://www.slideshare.net/andyinthecloud/building-strong-foundations-apex-enterprise-patterns)
3344

34-
Latest Article Series on Developer Force.com
45+
More Information on Trailhead
3546
--------------------------------------------
3647

37-
I'm proud to have been given the opportunity to run a more detailed look at these patterns on developer.force.com.
48+
There are two Trailhead Modules for Apex Enterprise Patterns:
3849

39-
- [Apex Enterprise Patterns - Separation of Concerns](http://wiki.developerforce.com/page/Apex_Enterprise_Patterns_-_Separation_of_Concerns)
40-
- [Apex Enterprise Patterns - Service Layer](http://wiki.developerforce.com/page/Apex_Enterprise_Patterns_-_Service_Layer)
41-
- [Apex Enterprise Patterns - Domain Layer](http://wiki.developerforce.com/page/Apex_Enterprise_Patterns_-_Domain_Layer)
42-
- [Apex Enterprise Patterns - Selector Layer](https://github.com/apex-enterprise-patterns/df12-apex-enterprise-patterns#data-mapper-selector)
50+
- [Apex Enterprise Patterns - Service Layer](https://trailhead.salesforce.com/en/content/learn/modules/apex_patterns_sl)
51+
- [Separation of Concerns](https://trailhead.salesforce.com/en/content/learn/modules/apex_patterns_sl/apex_patterns_sl_soc)
52+
- [Apex Enterprise Patterns - Domain and Selector Layer](https://trailhead.salesforce.com/en/content/learn/modules/apex_patterns_dsl)
4353

bin/apex-mocks-generator-3.1.2.jar

-21.1 KB
Binary file not shown.

build.xml

Lines changed: 0 additions & 76 deletions
This file was deleted.

config/project-scratch-def.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"orgName": "apex-common-samplecode",
3+
"edition": "Developer",
4+
"settings": {
5+
"orgPreferenceSettings": {
6+
"s1DesktopEnabled": true
7+
}
8+
}
9+
}

fflib-sample-code/.project

Lines changed: 0 additions & 23 deletions
This file was deleted.

fflib-sample-code/src/classes/Mocks.cls

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)