MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Browser Persistent Data with PHP

Course Summary

With smartphones, smartwatches and even smart appliances, the internet of things has brought us into a world to rival sci-fi novels. We're no longer content with a simple search. We want context. We expect our devices to know our locations, preferences, desires and goals. We expect tailored suggestions, reminders and announcements. Most of the time we don't even realize how much our devices or websites are setup to assist us until our connection is broken or we try to use a different device, and all of a sudden our history and setting aren't there and it's so much harder to do or find anything. Users have come to expect so much and it's just getting worse. So what does that mean to you as a programmer? How can you make your own applications "user aware"? It starts with data persistence.


  • +

    Course Syllabus

    Data Persistence on the Web

    Data persistence is the means of storing information for a prolonged period of time. We can make applications that are "user aware" by using that information to set user preferences or show use input. We'll cover three ways to persist data in a browser. Forms, Sessions and Cookies. You can also combine these methods with a database or other file system for server based persistence. 10 steps
    • Types of Persistence 3:27
    • Using Forms for Persistence 5:37
    • Data Persistence 5 questions
    • Reading, Writing and Destroying Sessions 5:27
    • Checking for Sessions 2 objectives
    • Writing Cookies 4:56
    • Reading and Deleting Cookies 7:14
    • Cookies 1 objective
    • Wrapping It All Up 1:12
    • Browser Persistence 10 questions
    • Extra Credit
      • Implement Code Challenges
        • Check session for all 5 words, redirect to missing word
        • Don't allow blank words
      • If not starting over, show the last word they entered
      • Set up a prompt to ask the user if they really want to delete the story.
      • Write additional stories that use the same 5 words we utilized for the original story.
      • Create a bank of different stories and save the entire story instead of the
      • Use the language tool api to make sure the word conforms to the part of speech requested http://wiki.languagetool.org/public-http-api


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top