1. Prerequisite Knowledge/Skills
To learn Frameplicity, you need some basic coding knowledge.
Also, Frameplicity uses Object-Oriented Programming (OOP) extensively. OOP allows you to write larger programs that are more maintainable and reusable.
There's a primer activity below that teaches you the OOP fundamentals as they are used in the framework. You can learn Frameplicity if you haven't used OOP before, but the learning curve will be steeper.
Question: Since Frameplicity is written in PHP do I have to know that language?
Answer: When you work on your learning activities, you will be using PHP. The primer activity below teaches you the relevant PHP syntax thats needed for working with Frameplicity.
Questions about whether you meet the prerequisites? Contact Scott
2. Create a Training Environment
You need to create a training environment where you will complete your learning activities.
Frameplicity recommends creating your training environment on AWS Cloud9
. AWS Cloud9 is a "cloud IDE for writing, running and debugging code". Your training environment on AWS Cloud9 will have PHP and a web server pre-installed and pre-configured.
When using AWS Cloud9, you may choose to grant permission to Frameplicity to access this environment so we can assist you in completing the learning activities.
You may choose to use another cloud provider or set up your training environment on your local computer. If you choose not to use AWS Cloud9, Frameplicity will not be able to access your training environment (even if you were to grant permission).
To set up your training environment on AWS Cloud9, follow these steps:
Navigate to the Amazon Cloud9 siteClick "Get Started with AWS Cloud9"On the sign-in screen, click "Create a new AWS Account". Amazon states that "New AWS customers who are eligible for the AWS Free Tier can use AWS Cloud9 for free. If your AWS Cloud9 environment makes use of resources beyond the free tier, you are charged the normal AWS rates for those resources."After your sign-up is complete, and you are able to log in to AWS, go to the "AWS Management Console" page. On this page search for "Cloud9" in the "AWS Services" search box.Give your environment a name and proceed to the next step.Click the "Create Environment" button on the right.Choose the default environment settings ("Create a new instance for environment EC2" and instance type "EC2.micro")Go to the next step and proceed with creating the environmentWhen the environment creation is complete, you will be taken to the Cloud9 IDE. At the bottom, the focus will be on the Linux bash command prompt. Type this command:
git clone https://github.com/scottschwarz77/frameplicity.gitOn the left pane, you will see the folder structure that was created for the project. It will be in this form: <environment name>/frameplicity with folders and files underneath the frameplicity folder. You want to move all of the contents under the frameplicity folder directly under the <environment name> folder. To perform the move, you can drag/drop all of these contents directly under the <environment name> folder. (Say "Yes" when it asks whether you want to overwrite the README.md file)At the bottom of the screen, you will see one or more tabs (one of them will be the bash command prompt). Add a new tab by clicking the plus sign. Select "New Run Configuration".You will see the text "Run" on the the right side of the tab you just created. Click on the "Run" text and select "PHP (built-in web server)".Start the web server by clicking the "Run" button with the green arrow on the left side of the new pane you created. You are now ready to start writing code to complete the activities. You should see a web browser to the right of the tabs. This is the web browser where you will test your activities.
Link to Frameplicity on Github: https://github.com/scottschwarz77/frameplicity.git