We help IT Professionals succeed at work.

Creating An Information Flag

oo7ml
oo7ml asked
on
133 Views
Last Modified: 2014-10-23
Hi,

I want to add an information / message to certain screens when users first open the app, so they understand how to use the app, such as:

==========

"This screen allows you to view all of your... etc"

[OK, I GET IT]

==========

I was thinking of adding a column, such as 'home_screen_msg' to the 'user' table and setting a value of 0 in it, and then querying this field each time the user opens the home screen.

If the value is still 0, show the information / message pop up, then when they click [OK, I GET IT], update the field to 1 so that it doesn't show again.

I think my approach is a bit resource heavy or OTT, as this means that this query is run everytime, every user opens the home screen.

Is there an easier way to accomplish such a task?

Thanks in advance for your help.


PS - can anyone recommend what Expert Exchange categories you should select for App Development? Thanks again for your help.
Comment
Watch Question

Data Scientist
Most Valuable Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Hi, thanks for your reply. It's for an iphone / android app so i don't think this approach will work.
CERTIFIED EXPERT

Commented:
Like Kyle said
You can use  HTML5 LocalStorage
this will work on Android and IOS
http://diveintohtml5.info/storage.html

Commented:
greetings oo7ml, , , you seem to be getting web page answers for this iphone-android question, , , ,
You say you are concerned about "my approach is a bit resource heavy", since you are querying the database to check the home_screen_msg column, on each of your many screen displays. It is my view that doing a DB query is a standard thing for any "customizable" screen each time it shows, to get the "options" for the user. So doing a small return query is not much of a processor load, and you can probally do that. However, you may make a variable to starting out as zero that is stored in the DB table,, and set to 1, whenever ALL of the of the Message screens have been viewed, and if it is 1 then do not do the DB query, just skip it and show the regular screen. But there are many more factors that may come into play in the over all app design that I do not know about, that may have some concern, but a small (single data return) DB query is not resource heavy, in my view.
Top Expert 2013
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Hi, it's not a matter of designing the interface to be more intuitive. App interfaces need to be clean and minimal as the real estate is much smaller than a usual desktop interface (web browser) there for you can't start putting static messages and information points on screens.

Commented:
You say - "there for you can't start putting static messages and information points on screens. "
I can see that you are concerned about "as the real estate is much smaller than a usual desktop interface",
but I am sorry that I do not understand what kind of expert info you would want, to help you solve your design-implementation question - problem. Are you asking about a way to show info on "real estate that is much smaller" or having a way to decrease the info, and still have effective app, , , or something else?
I guess it has something to do with what you say as - "want to add an information / message to certain screens "
? ?
Top Expert 2013

Commented:
If the layout has appropriate presentation for a message some of  the time, then it is also there all of the time.  As for the [got it]... most users are never going to click it unless you somehow force is and reduce the usability even more.

If the message needs to contain a lot of information, then just use an iconic link to a page with instructions.  If you need to have this level of hand holding for users, a centralized information source makes more sense.

Cd&

Author

Commented:
It's not a design (ui) question, it is a programming question.

I know how i want the message to display (design done), but i am asking what is the best way to query / monitor if the user has already seen an onboarding message (programming (APP) question).

Ignore the actual design / look of the message below, as it is not my screenshot... however what is the best way of querying whether the user has already seen this message or not.

Both app development and web development use a lot of different storage techniques compared to each other, so i am basically asking what are my options? (for app development).

screenshot
I personally think querying the DB each and everytime a user loads the home screen is OTT, hence i am asking if there is a simpler way to achieve this using local storage.
Kyle HamiltonData Scientist
Most Valuable Expert 2014

Commented:
as already answered: yes, you can use local storage.

Author

Commented:
Thanks Kyle, this site really needs an app development section (can't believe there is not one on EE).

Thanks all.
Top Expert 2013
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks COBOLdinosaur ;-)
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks Slick812, that seems like a much better option. Make one query and store all of the results locally, thanks.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.