Assignments this week were somewhat challenging, but interesting. What I enjoyed the most about them was my progress towards learning how to think in code; well, PHP. The best lesson of the Codecademy assignment was the arrays. I feel like I actually understand the reasons for arrays, the concepts, and how they may facilitate sustaining a developed site. I may use arrays on my site to develop lists in the backend and only highlight one item on the list to call out a weekly concept and/or special. However, I am not sure if I will use them to build my site and/or incorporate them later on after my site and business mature.
The assignment to outline the site which we want to create was tough, but it forced me to dedicate time to think through the image that I want my company to portray and the services which will be offered. Thinking through these key concepts has been quite difficult as I have a tendency of wanting to take on the world. I still have not made all the key decisions, but I was able to create an outline and identify a modo for my web-site development and business to follow: the KISS principle. I definitely feel that the less information which is displayed the more impactful. The key next steps for me are to discipline myself to keep things simple. It is so easy to get carried away with information and/or trying to tackle too much at once.
For the most part, I understood all concepts covered this past week, but I am still not completely comfortable with everything we have learned. Concepts which I am unclear about are:
1. How do I update a template from WordPress using Sublime?
2. How does the database and WordPress work together? If I stand up a second WordPress site, would I have to create a new database? As I maintain and further development my site, will I have to go back to Github and do anything to the database?
3. Is there a way to run spell check from Sublime?
You probably won’t be creating arrays for your final project site, but understanding what they are, how they work and how to access is important. Everything for your project should be stored in the WordPress database and retrieved with template tags:
http://codex.wordpress.org/Template_Tags
The KISS concept is key for web design and development! The simpler, the better.
1. To edit a WordPress template file, you open the file locally in Sublime. Then make your change, view the local version in your browser, save in GitHub, commit & sync in GitHub and — when ready — drag and drop it to the FTP so it updates live on your site.
2. The short answer is that each WordPress site needs its own database. Andy (our guest speaker) and I can explain this further in class on Tuesday.
3. Click the “View” menu item and “Spell check” is fourth from bottom, or hit F6.