How about
4:05pm to Quit today?
Then after that Mr. M. is available...
Mr. M.
Show DSLR light and barn doors..
Boom and Mic
CHEAP mic - skills lies far outside the cost of your software and equipment... something amateurs do NOT know.
DB GILLES quote from last year
Mr. M. OLD WordPress Site
Why does he use sites.google NOW?
About the mid-term... and Open Source - of course :)
Do you see what "Open Source Software" has to offer you?
Imagine what you could have created in the 1 hour or so...
without Open Source
Company #1 - All closed software
Company #2 - WordPress experts - open source
clients get source code (it is ju
Which woudl you pick
Why
What is Mr. M. BIGGEST reason...
Tip of the DAY Review - 5 point check list...
Recall Mr. M. said "lazy" can be good..
Grey Scale Gorrilla
Founder of PHP...
Did anyone check out that 5 point check list
and this one?
http://webitect.net/freelancing/design/5-tools-for-the-lazy-web-designer/Mr. M. Advise. Not enough - About Your Skills
Just know WP and a few templates and plugins are most likely NOT enough
See suggestions in Assignment
One year... student built a WP Template from Scratch... Impressive? Sort of...
never did get to work on IE...
But... could this same student, create a stunning site using a known template in 2 hours?
Don't know..
How would an employer view this.. not sure...
A "red" flag to an employer MIGHT BE..
Lots of energy and enthusiams.... but no way are we going to pay him a weeks wages to create
something we can get for FREE, or pay $40 for..
We need this person, to be able to customize those things... and not work from scratch on home-made buggy solutions...
However, Mr. M. will give credit to the student, for the dozens and dozens of hours they spend learning how a template works..
If you love coding... what might be a BETTER idea for your skills
(Get involved with an existing template development with the author, who might be a world-class expert on Themes)
So... if you ONLY have 20 hours... are you better to learn an existing bullet-proof theme..
or build one yourself that works is buggy, untested and works well on only a few browsers..
REFER TO UPDATE - See Assignment Requirements
MAX. Mark on this assignment is 91% UNLESS you embark on this Journey
High marks reserved for "exceeding" the course requirements.
(should be reserved)
Intro #1 to Post and Get
A gentle/slow introduction to the topic
Remember... learning remains a slow process...
Mr. M. thinks a few things (technical) are vital to your skill set
How many know the difference between a POST and a GET?
Take a moment...
We will DO IN LAB, from scratch (Quick Mark) - either BEFORE or AFTER Christmas..
Just quickly explain the CONCEPT for today...
MEMORY TIP:
Get... you can GET all the info from the top URL
Post
Put you data in a envelop and mail it by Canada POST
Do you know about 404 pages....
Mr. M. was looking for this cool device
http://www.bhphotovideo.com/c/product/797643-REG/Griffin_Technology_NA16029_PowerMate_Assignable_USB_Multimedia.htmlwhy to use them, how to build them
https://store.griffintechnology.com/powermate
Why would you use them
Tutorial
http://support.hostgator.com/articles/custom-error-pages
watch video
but- can WordPress do it more easily?
Does this look pro, for your site?
Not sure if all Themes have 404 pages
OK...
So, maybe you do need to know about programming PHP..
Can you figure out this example..
Could you customize it?
Do you know what a function is?
How many functions are there?
What kind of functions are they?
- php built in
- php custom
- WordPress functions
- mySQL functions
How simple is TOO simple
Give this some careful thought..
How simple is too simple, for a website, a game, a logo, a 3D animation, a commercial...
all things MM....
What mark would you get for this if it were an assignment in Mr.M. MM 400 Business course?
Nice WORDPRESS THEME?
QUICK DEMO!When would you use this?
Do you find creating forms too time consuming?
http://www.phpform.org/formbuilder/Tip of the Day - WP Themes
Do you believe a theme can look like anything?Remember the CONTENT (pages/posts) are separate from your theme
You know, the CONTENT is kept in the database...
Did You know, some plugins may also be in the database.
Check this out
http://luxury.dev7studios.com/
Mr. M. Daughter
- installed 14 themes, most of them manually
- is lost with any coding...
She found this:
http://wordpressthemesbase.com/Another ExamplePretty Pink:
This work is under Creative Commons Attribution-Share Alike 3.0 License,
This means you may use it and make any changes you like, However,
credit links must remain on footer for legal use, This Theme Was Tested
and Work Fine On IE 6.0 & 7.0, Mozilla Firefox, Opera 9.02, Google
Chrome and Safari Web Browers, this Theme Was Tested on The Latest
Wordpress Version Also, Please Share This Article if You like it.
http://my.opera.com/templates4all/blog/Lab
What about next week... Nov 15, Mr. M. not here,
Relax and Learn Week
---
This week, lecture on Friday is Work/Discussion period and attendance will not be taken
Mr. M. will be in Lecture Room, then to Lab.
Work on your $2200 website
Take attendance...
Finish up a few points from LECTURE above..
FROM PLAN OF ATTACKQuick Mark #3 - work on major
so..
Give em
4/5 if they can
1- do all tasks
2- make a start (at least start) major, in their Google Doc.
3- NOTE: $2.200 website... MUST have custom 404 page, with image you uplad, see assignment
How to get 5/5 -
Get that nice form working with Wavy Text PHP files...
Mr. M. has talked a lot about "frameworks" and Open Source..
Could there be a "framework" that would aid in creating a
CUSTOM WordPress theme?
https://www.google.com/search?q=framework+to+create+wordpress+themesSee Vanilla? - if you like Design better..
See chart at:
http://wpcandy.com/presents/wordpress-theme-framework-comparison
http://codex.wordpress.org/Theme_FrameworksDo any markingHands, on maybe quick mark, see Plan of ATTACK
Do you know Post and Get?
- show Ryan's thing...
Download WP and BLogolife theme
DO THESE, IN REVERSE ORDER>>>
QUICK MARK Task #0 - START to write down rough notes in your Google Doc - Assignment $2200
- - like what your project might me
- - like what themes/plugins are you considering to use (this could be a BIG job... just the deciding, not necessarily the implementation)
- - rough ideas for site
- - what you will put on your 404 page (error page)
QUICK MARK Task #1 - Customize a 404 page
Install the Blogo life theme..
add an
IMAGE and custom message to 404.php
TIP: Why not UPLOAD the image to Media in WordPress.How will you try it out?
QM Task # 2 - SWF on WordPress...
Thanks Rickell
1- upload swf to root of website (or try with Media)
2- Install Plugin
wp-swfobject, 4.5 star rating
3- Use hash tags
[swf][/swf]
Insert between hash tags
movie.swf, height, width... see instructions
Why not try a plugin to allow this rather than
Place a swf on a WordPress (thanks Rickell)
another plugin
Maybe
mySQL exersize...
Consider your final project
Have you started google docs.
QM TASK #3 - Can you write and understand 6 SQL statements?
Task #3 - Do not do - CANCELED - Do this in MM 462 http://sqlzoo.net/
Just review some of the others..
Put in screenshots in your What I learned doc
In previous years, in MM 325, we wrote a lot more SQL..
but in a modern world, you just don't see them
WP uses SQL statements a lot... but are hidden from you and not obviously exposed in WP templates (themes)
so..
Let's just do a GENTLE INTRODUCTION TO THEM
Do JUST these six.http://sqlzoo.net/0.htmQM Task #4 Post and a GET
MEMORY TIP:
- Show a Google Search,
Is it a POST or a GET?
Purpose of TASK:
This is a very BASIC thing to know... so let's do an example.
Further Reading
http://www.wereyouwondering.com/what-is-the-difference-between-get-and-post/Thanks Ryan R. for idea
TUTORIALPurpose: To understand a POST and a GET and the difference
Steps:
1- create a folder under MAMP htdocs...
called:
wavy
2- create a BLANK file called
wavypost.php
wavyget.php
and save it in the
wavy folder
3- Get the "get" version, wavyget.php working first using code attached to this page at bottom
Things to understand:
- Global reserved variable$PHP_SELF
- The NICE thing about PHP, all variables START with a $... whether they are your variables or PHP variables.
<body>
<p id="groovy"><?php echo $_GET["txtName"];?></p>
<div id="form">
<?php
if ($_GET["n"] == null) echo "<form method=\"get\" action=\"$PHP_SELF \">Your name: <input type=\"text\" class=\"tb\" name=\"txtName\"><input type=\"submit\" value=\"Make it WAVY\">";
?>
</div>
</body>
4- Get the POST version working
Conclusion
So..
- Which would you use, a POST sor a GET, they both work equally as well.
- Why did Ryan choose a GET?