I’ve been working on putting together a simpler definition for “abstraction” than I’ve been finding online that doesn’t get into other Computer Science concepts.
Here’s the conclusion I’ve come to:
There’s a few “common” meanings of the word that help to gather the full understanding of the word:
– To draw away
– To separate
– To form a general concept from consideration of particular instances
(All definitions were taken from the Chambers Dictionary)
So, if I saw chicken wrapped in a tortilla, covered in cilantro, smothered with salsa and lime and being enjoyed by the limelight of Mexican horn music, I could abstract that this is a taco.
Similarly in computer science, I don’t want to have give all those little details every time I describe something to my program, I want to just be able to say “taco” and the program would put together my cilantro, chicken, tortilla and lime programs together. Thusly, I define “taco” as meaning all of that. I have created a layer of “abstraction”. Now I can “abstract” myself further when I want to describe my dining experience by putting my taco program together with my table program and my cerveza program. Then I would define it as my “lunch program”. As a result, I now I just say “Lunch” and my program understands and creates the whole taco party.
If that’s too simple for you, I’m sorry. This wasn’t intended for you though. Check out the WikiPedia article instead.
Here are some basics on keeping your site healthy and working for you in the future or your posterity. Not applying these basics will result in a massive headache for you or someone else later on…
- When Building a new site always start building with a child theme. Many themes come pre-packaged with a child theme and that’s great – you should totally use it. If not, you have to make it yourself.
You can follow the steps here to create one: https://codex.wordpress.org/Child_Themes or use a plugin like https://wordpress.org/plugins/one-click-child-theme/ – which is great for beginners.
- Don’t rename the Parent theme. Keep it the same name that the vendor created it with, doing otherwise will make it so you can’t update the theme in many circumstances. Side note: you’re not kidding anyone by renaming a theme… It’s obvious you didn’t make it from scratch, so stop being a douchebag and leave a little cred for the theme devs. 😉
- NEVER EVER make a change to the parent theme. Doing this will allow your changes to get overwritten on the next update and you always want to keep your themes and plugins up-to-date to get the latest security patches and code updates.
- If you have to edit WooCommerce files, do so in your child theme following these instructions: https://docs.woothemes.com/document/template-structure/ . Thoroughly comment out any changes you make as WooCommerce does make changes to template files every now and then and you need to be able to update those customized files if needed.
- If you are using the DIVI theme or an Elegant Themes plugin be sure to install the Elegant Themes Updater to get the latest plugin/theme updates.
- If you are using any theme from Theme Forest be sure to install the Envato WordPress Toolkit plugin and hook up the API following their instructions. This way you can easily download any updates. This has to be downloaded from GitHub ( https://github.com/envato/envato-wordpress-toolkit )
- If you are using any plugin or theme from WooCommerce (besides the basic WooCommerce plugin), then you must install the WooTheme Helper plugin. This will enable to update your premium WooCommerce plugins.
When using the WooTheme Helper, Envato WordPress Toolkit or the Elegant Themes Updater be sure to hook it up with their respective APIs as per their site’s instructions.
If you don’t apply these you’re going to have a bad time. Not to mention Magicarp will come after you.
And you don’t want that to happen.