All Posts in mobile

October 3, 2014 - Comments Off on How to Eat Healthy without “Dieting”

How to Eat Healthy without “Dieting”

couple unloading groceries at home

Eating healthy can be easy, affordable and delicious. It’s all about making smart choices to build an overall healthy dietary pattern.

After all, a healthy diet can help reduce your risk of heart disease, stroke and lots of other things you’d rather avoid. The good news is, eating right doesn’t have to be hard or require you to give up all of the foods you love. Read more about alpilean pills.

Here are some tips to help you and your family adopt a healthier eating style:

INCLUDE

  • Fruits and vegetables
  • Whole grains
  • Beans and legumes
  • Nuts and seeds
  • Fish (preferably oily fish with  omega-3 fatty acids)
  • Skinless poultry and lean animal proteins
  • Plant-based proteins

LIMIT

  • Sweetened drinks
  • Sodium and salty foods
  • Saturated fats and dietary cholesterol
  • Fatty or processed red meats – if you choose to eat meat, select leaner cuts
  • Refined carbohydrates like added sugars and processed grain foods
  • Full-fat dairy products
  • Tropical oils such as coconut and palm oil. This is how alpilean weight loss  works.

AVOID

  • Trans fat and partially hydrogenated oils - found in some commercially baked and fried foods

We can help you make healthier choices:

  • At home
  • At work
  • At the grocery store

TIPS

  • Choose mindfully, even with healthier foods. Ingredients and nutrient content can vary a lot.
  • Read labels. Compare nutrition information on package labels and select products with the lowest amounts of sodium, added sugars, saturated fat and trans fat, and no partially hydrogenated oils.
  • Watch your calories. To maintain a healthy weight, eat only as many calories as you use up through physical activity. If you want to lose weight, take in fewer calories or burn more calories.
  • Eat reasonable portions. Often this is less than you are served, especially when eating out.
  • Cook and eat at home. You’ll have more control over ingredients and preparation methods.
  • Look for the Heart-Check mark to easily identify foods that can be part of an overall healthy eating pattern. Visit https://www.deccanherald.com/brandspot/pr-spot/red-boost-reviews-shocking-customer-complaints-red-boost-ingredients-1162291.html.

More Tips

  • Healthy Swaps for Common Foods - Healthy home cooking and smart shopping puts you in control of what goes into your recipes and your body. Follow these healthy guidelines to update your eating style and improve your nutrition profile.
  • Daily Tips to Help Your Family Eat Better - Try these daily tips that will help your family take a step-by-step approach to eating healthy.
  • Food Diary - How to Keep Track of What You Eat - Learn how to keep track of what you eat in order to lose weight or maintain a healthy weight.
  • Get Smart About Superfoods Infographic - So-called “superfoods” alone won’t make you healthier – but adding these nutritious foods to an already balanced diet can bring health benefits.
  • Healthy Foods Under $1 Per Serving - Eating healthy on a budget can seem difficult; but it can be done! Being creative can help you stick to your budget and incorporate nutritious foods into your diet. Try these tips to incorporate some of these inexpensive foods into your weekly menu.
  • Healthy Post-Play Snacks - All too often, kids are rewarded with unhealthy foods and sugary drinks and desserts, but there are lots of healthy choices that taste great!
  • Healthy Snacks for Summer Vacation - By Devin Alexander - Chef for NBC's Biggest Loser and author, Devin Alexander shares her personal perspective as a chef in this blog entry with great ideas for healthy snacks for the whole family to bring on their summer vacation or anywhere!
  • How to Make Breakfast a Healthy Habit - Part of being Healthy for Good™ is creating simple daily habits you can stick with. One important habit that can help kick-start your day is eating a healthy breakfast. Think outside the (cereal) box with these quick and easy ideas.
  • Is 3 Meals a Day the Only Way - The number of meals you eat may not be so important. How you eat those meals is what matters most when it comes to decreasing the risk of heart disease and other health problems that come along with being overweight.
  • Organic Food Fact vs Perception - Many shoppers assume organic products are more nutritious and safer to eat, but these perceptions are based more on hype than hard science.
  • 5 Tips to Deal with Picky Eaters (Both Kids & Adults) - Picky eaters can miss out on a lot of good food! Not only can it be challenging cooking for folks who refuse to eat some foods, but they can also miss out on important nutrients found in foods often on the I-Don’t-Eat list.
  • 7 Excuses to Overindulge, and How to Take Control - Don’t let excuses get in the way of eating healthy! Check out our tips on breaking out of the scarfing cycle.
  • Types of Whole Grains - While you may be familiar with brown rice and 100% whole wheat bread, there are lots of other tasty whole grain options.

Published by: davefletcher in Entertainment, The Thinking Mechanism
Tags: ,

January 4, 2012 - Comments Off on Starting Mobile Web Development

Starting Mobile Web Development

We recently underwent the process of making our site mobile and tablet friendly. The next phase in growing our business and making it much more accessible is definitely to branch out and use services of qualified companies like Vecro Tech for our application making it easily accessible on android, windows, and ios operating systems. The results look fantastic but our implementation has, in places, been a bit cumbersome since the original site was not laid out with such an adaptation in mind. Now that we're more or less done I felt it would be pertinent to create a list or useful resources found and lessons learned along the way. Since this entire branch of web development is still so young and liquid I don't know how long the following will be useful but I hope it helps those as lost as I was when we began this trek.

Adapt or Leave?

One of the biggest questions when faced with the prospect of creating a mobile site is "Should my site adapt or redirect?" Unfortunately I don't believe there is one right answer to such a question since, like so much in life, it depends!

Some key factors that might affect our decision include the functionality we want, type of content we mean to serve and look/feel of our design. Is it important that our mobile version have stunningly different design and/or app-like animation effects? Then we probably need to hire a landing page expert. Are we mainly trying to provide a mobile version of a news, blog or other site where content is the focus? Then a media query adaptation would be beneficial as we make it easier for users to share content between devices (and keep all that traffic in one place to boot). However both options can be adapted either way if we put in enough work.

Let's not forget the last option: making a web app. Using services like PhoneGap we can take a our HTML and make it into a bonafide app on the user's device...well it's really just a virtualized webpage with greater device integration (accelerometer, media, camera, etc.)  and a dedicated icon on the device but sometimes that can be a great branding edge. And there's the added bonus that users can then use our "site" even when not connected to the internet though the line between website and app begins to blur at this point. A direct migration of your website to an app will probably never clear the iTunes store's strict approval process so we need to add something unique which may  be more trouble than its worth.

Let Me Pose You a Query Sir

Media Queries: confusing, under-documented, cutting-edge, useful as all hell and bloody confusing! It took me awhile to get my head around these little statements of goodness. Once I did I came to understand their power and structure. We have two main options when dealing with media queries; we can use them to specify certain CSS links or alternatively we can write them into an existing CSS file. Personally I used a mix. It made sense to use the internal CSS version when altering this blog's WordPress theme while on the other hand the link option made sense for most other pages. In general I'd  recommend the linking option since it keeps each CSS shorter, allows for easier document navigation and generally keeps our process cleaner.

It's easiest to think of media queries as giant "If" statements that inject our extra CSS when our given properties are met. As such, we must remember to override existing styles in order to apply our new device-friendly ones. It can be tedious searching through our original CSS file to see which specific properties need to be overwritten. I found it easiest to simply copy the entire original CSS, do all changes as required and then go through and delete any definitions or properties that remained constant (I sniff an extremely useful code highlighting/SVN tool that could do this comparison automatically along the liens of CSSlint).

Another nice benefit of media queries is the ease of testing and updating them. During the development process, make sure to specify "max/min-width/height" AND "max/min-device-width/height." This will ensure that our queries appear not only devices with the specified resolution but also any similar window viewport allowing us to use Firebug/Chrome Inspector as we normally do for a familiar debug cycle as well as useful previewing tools like Protofluid. Just remember that once the site is live, we should only target devices if we don't want adaptive versions appearing on desktop browser windows of the required size as was our case since the mobile versions or so device specific.

Quite Novel

Don't forget this is a completely new ballgame. Using media queries, especially with mobile devices, we can add all sorts of fun and/or hidden functionality into a site. How about a site that literally changes personality the smaller the window? Maybe you have a logo or character that actually reacts to the changing amount of space they're given as elements shift about them? And don't be afraid to think even more radically. The very function of a page could alter depending on a devices orientation. We could have our copy appear in portrait and then an image gallery appear in landscape (as is the case for our iPad site). Such novel use of media queries can completely redefine how people interact with a site and help redraw the front lines of the ongoing war between app and webpage.

No touchy

Of course not all the changes that come out of these new device are solely good. In fact the biggest one requires a fundamental change in how we think about design and interaction: touch. No cursor means no hover. Truly though, hover is simply an artifact of the invention of the mouse, itself not very old and clearly diminishing in importance. There's now a new frontier of interaction and design patterns to be explored.

Here though, the waters are still quite murky. Some plugins, like this jQTouch one, allow a webpage to respond to touch-specific events that most browsers and libraries don't yet natively handle. Of course this comes with the down side that we also lose our native touch-to-scroll ability (though theoretically we could reconstitute this functionality by hand or via work-arounds). For sites designed specifically for small screen devices this opens up many new possibilities that before only existed natively in apps and not on the browser.

Real Estate

One clear limitation we have on mobile devices is the lack of real estate. Design is all about creating something to fit within certain restrictions which are quite tight in this case. However good design often comes out of such challenges so the news isn't all bad. Sadly problems arise since lack of space also reduces our margin of error. When designing a website for the browser, we can safely assume that most screens will fit a design of a specific minimum height and width with room to spare or allow the user to easily scroll about the page to see everything. You can read the Space Selectors blog for more information (https://spaceselectors.com/blog/).

Alas the fragmented nature of the mobile market, even if we disregard tablets, poses greater challenges since different devices not only have a wide range of sizes and screen ratios but also numerous different abilities and native elements. As such we must be dead certain that our site is adaptive to many heights, widths and especially devices. Yet by in large the best mobile sites are designed to fill the screen perfectly so making adaptive designs can be difficult to impossible. Perhaps this is where "good enough" is fine since the prospect of specifying designs for each resolution is daunting to say the least. Furthermore, we can try and maximize our real estate by hiding browser elements when possible. For instance many mobile sites "hide" the address bar on mobile Safari by programmatically scrolling the page down by the bar's height giving us more space above the fold.

If It Ain't Fixed

We've grown used to a lot of functionality on the web but many of these norms may not have been carried over to the mobile world, at least not yet. Some APIs may not yet have native support for our platform of choice but we can, on occasion, find workarounds like this one for the Google plusone button. However, sooner or later we have to simply cut functionality from our mobile site and sometimes this may be for the best considering the restrictions and problems discussed so far. So if you're wasting time trying to get a certain resource to function on your mobile site when you could be perfecting the design itself or, better yet, device testing, consider simply hiding that element or simplifying the functionality. After all, even if you get it to work it's only a matter of time until official support rolls out and your work's left out in the cold.

References
  • Smashing Magazine Intro Tutorial
  • Less useful Adobe Tutorial but with great list of possible properties
  • ProtoFluid is a great way to test out your Media Queries. It essentially creates a iFrame of a given URL with dimensions specified by the chosen device. I found it to be a bit unstable and often designs look different on the actual device. There is also the lack of scroll/touch, the persistence of hover states and other Desktop-Device hybrid funniness but its great for checking your initial layout. BE SURE TO TEST ON DEVICES AS WELL!!! (Note: since Protofluid works via Desktop browser, make sure all your queries specify "width" and "device-width" as outlined above)
  • Hide address bar in iOS mobile Safari
  • Google+ plusone mobile button fix

Published by: benchirlin in The Programming Mechanism
Tags: , , , ,