PHP

Screen Shot 2014-12-09 at 14.36.40

Index 

</pre>
<!doctype html>
<html>
<head>
<title>Format Code</title>
<link href="css/styles.css" rel="stylesheet" >
</head>

<body>
<div class="container">
<?php $food = array("Chips", "Chocolate", "Fish","Burger"); ?>
<?php $images = array("Cheap-as-Chips", "Yorkie-Bar", "Prod9","img-large-burger"); ?>
<?php $text = array("Chips yum", "Chocolate yum", "Fish mmmm","Burger yummy"); ?>

<?php $title = "Box"; ?>
<?php $numberOfBoxes = count($food) ; ?>

<?php include 'nav.php'; ?>

<div class="top-title">
<h1><?php echo "Home Page - PHP"; ?></h1>
</div>
<?php for($x = 0; $x <$numberOfBoxes; $x++) { ?>

<?php include 'box.php'; ?>

<?php } ?>
</div>
</body>
</html>

Box

</pre>
<div class="box">

<img src="images/<?php echo $images[$x]; ?>.jpg" />

<h2><?php echo $food[$x]; ?></h2>

<p><?php echo $text[$x]; ?></p>

</div>

Advertisements

Layout research

For my poster I like the idea of using a similar layout to a double page magazine spread, sticking to my theme of obesity in relation with surgery or NHS costs I need to present my ideas so they are easily recognised however not to graphic that it would be offensive to my chosen target audience of 18 to 30 year old. To do this i might have to make my idea come across through a more abstract approach rather than literal, I need to think how I can portray surgery using basic shapes and mainly neutral colours.

https://beckyhughes94.files.wordpress.com/2014/12/e3532-dsc_0037.jpg

https://demimason.files.wordpress.com/2013/06/magazine-book-layout-inspiration-32.jpg

https://beckyhughes94.files.wordpress.com/2014/12/c1271-miley-cyrus-billboard-magazine-cover-01.jpg

http://www.shutterstock.com/pic-170628035/stock-vector-minimal-infographics-design-can-be-used-for-workflow-layout-diagram-web-design.html?src=HhnZabTeJmRlFx7E_R2JKA-1-44

Some very interesting takes on this topic could be some of the following photographs, although I am not sure I will have enough time to create this very complex layout, however they are very inspirational and beautifully created photographs which combine vector graphics.

https://www.pinterest.com/davidfoxon/montage-photography/

A helpful website I have found which give simple tutorials into using Inkscape which will be a helpful reference when using Gestalt principles to construct my ideas into a highly visual based double page spread.

http://www.chrishilbig.com/category/tutorials/inkscape-tutorials/

experimentation & research

body circlesimage4805drawing 3image6738

Using Inkscape I explored different ways in which I could make up a basic body shape which would be easy to identify. I think the best one to use for the obesity poster would be the circles possibly in conjunction with the swirls because they can portray a similar shape to the cells of fat present and I can effectively mutilate the size and shape of them to show different body sizes. However I do not think having the objects grouped so closely together is a good idea and may choose to just use a plain body outline and then have something inside the body such as a graph with my ideas which I experimented with below.

fat man first attempt

I think this is a better layout to consider, I used some further image research and recreated this from the following photograph which I found on shutterstock.

stock-vector-vector-concept-of-obesity-caused-by-fast-food-105775883

I have also found some other photographs I will take into consideration when picking the layout of my A2 poster and working out which shapes to use to recreate similar images.

stock-vector-obesity-related-diseases-info-graphics-198601994 ???????????????????????????????????????????????????????????????????????????????????????? heartrate-monitor Smart-Lipovac uk-obesity ??????????????????????????????????????????????????????????????????????????????????????

http://r.search.yahoo.com/_ylt=A2KLj.q2kLJUvCMAKSlWBQx.;_ylu=X3oDMTBxNG1oMmE2BHNlYwNmcC1hdHRyaWIEc2xrA3J1cmwEaXQD/RV=2/RE=1421017398/RO=11/RU=http%3a%2f%2faboutliposuction.co.za%2fliposuction-machine%2f/RK=0/RS=6pm3s2efeCSE_tlOrMSxC97r9Hc- 

http://r.search.yahoo.com/_ylt=A2KLj.sAkbJUC3UA.4dWBQx.;_ylu=X3oDMTBxNG1oMmE2BHNlYwNmcC1hdHRyaWIEc2xrA3J1cmwEaXQD/RV=2/RE=1421017473/RO=11/RU=http%3a%2f%2fwww.shutterstock.co.in%2fs%2fdiabetes%2fsearch.html/RK=0/RS=bfda61CmAa.tYDyI9JYIfqz2IRQ-

www.dreamstimes.com

teamboom.net

PHP

The aim of today was to use the process of PHP to create an individual file, in this case’ box’ so there is a lot less code but the process still works on the webpage. There was an introduction to the % which stands for modular operator.

Below is the end outcome in my index and then my box file.

Index=

<!doctype html>
<html>
<head>
<title>Format Code</title>
<link href=”css/styles.css” rel=”stylesheet” >
</head>

<body>
<div class=”container”>

<?php $title = “Box”; ?>

<?php $numberOfBoxes = 6; ?>

<?php include ‘nav.php’; ?>

<div class=”top-title”>
<h1><?php echo ‘Home Page – PHP’; ?></h1>
</div>

<div class=”clearfix”></div>

<?php while($numberOfBoxes > 0) { ?>

<?php include ‘box.php’ ?>

<?php $numberOfBoxes — ; ?>
<?php } ?>

</div>
</body>
</html>

Box=

<div class=”box <?php if (($numberOfBoxes % 3) == 1) { echo ” box-right”; } ?>”>
<h2><?php echo $title; ?></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam imperdiet varius blandit. Aliquam erat volutpat. Sed nisi mauris, pellentesque eu nibh in, tincidunt bibendum erat. Nullam et tincidunt dolor, non mollis velit.</p>
<img src=”images/beach-huts.jpg” />
</div>

Ideas and Research

With my first ideas, there are some components I need to take into consideration such as how I am going to show surgery without being too graphic that it would put off my target audience of 18-30 years. There are two main images I would like to portray, the shape of the human body, and the idea of the surgical tools used when removing the percentage of fat from their bodies. I would like to present this in a double page spread that you would find in a magazine. However i need to think of the sort of vectors I would use to build these shapes.

Research;

Service design aims at designing services that are useful, usable and desirable from the user perspective, and efficient, effective and different from the provider perspective. It is a strategic approach that helps providers to develop a clear strategic positioning for their service offerings.

http://www.ijdesign.org/ojs/index.php/IJDesign/article/view/994/341

Use of Gestalt Principles in my work;

Familiarity is one of the Gestalt Principles of Perception and, unfortunately, one of the weakest principles.  As I’ve illustrated in my narrative, even if the audience is completely familiar with the images and symbols used, the message can become muddied when the principle of proximity is not used correctly.  By effectively applying the principles of perception to your infographics you can achieve pragnanz, the perfect clarity of your message.

http://visualology.net/category/gestalt/

http://www.creativebloq.com/how-design-better-data-visualisations-8134175

This website has some ideas I need to think about when I am creating my specific shapes and showing the images I want to perceive.

Figure 4 shows a selection of the pre-attentive visual attributes that can be used to encode data, as detailed by Colin Ware inInformation Visualization: Perception for Design. Stephen Few states that only a handful of these are attributes that we naturally, and universally, interpret as quantitative. Of those, length and two-dimensional location are perceived more precisely than other attributes. For example, with length, we perceive a clear scale that corresponds well with objective measurement: bigger is ‘more’ and smaller is ‘less’. By contrast, with shape, we cannot say whether a circle means more or less than a square without the introduction of an artificial scale using a key.

Gestalt the 6 Elements

http://www.creativebloq.com/graphic-design/designer-s-guide-gestalt-theory-10134960

explore the perception of relationships in data, usually best presented by the structure and grouping in visualizations. In Figure 4 we can see that pre-attentive attributes that are not perceived quantitatively are effective at differentiating, i.e. grouping. However, rather than focusing on individual shapes we can use for grouping, we shall consider patterns, the pre-attentive perception of which has been captured in the Gestalt laws of perception.

Some of the more important gestalt principles include:

  • Similarity — Similar objects are often perceived as a group.
  • Continuation — Continuation occurs when the human eyes follow the direction from one object to another, perceiving separate objects as one.
  • Closure — When gaps appear between shapes, people tend to mentally close those gaps and form a perception of a whole object.
  • Proximity — Objects placed close together are often perceived as a group.
  • Figure and Ground — Different shapes that are formed by the foreground (figure) and background (ground).

https://yusylvia.wordpress.com/tag/gestalt/