"Mr Branding" is a blog based on RSS for everything related to website branding and website design, it collects its posts from many sites in order to facilitate the updating to the latest technology.
To suggest any source, please contact me: Taha.baba@consultant.com
Sunday, April 30, 2017
The Biggest Digital Marketing Trends That You Should Know
[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]
by Web Desk via Digital Information World
Un Monde
by via Awwwards - Sites of the day
Saturday, April 29, 2017
funplex, Inc
Funplex, Inc is a professional operation team of social games in Japan. A corporate message, “CHANGE THE GAME”, is expressed by animation on top and recruit pages in opposite ways.
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
Denis Rojcyk Portfolio
Denis Rojcyk is a product designer based in Prague, Czech Republic.
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
Go Eat Bomb
In this game you can eat kittens, pick up mushrooms and ride a bottle of vodka!
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
GatherContent
GatherContent is an online platform for teams that helps you easily organise and produce content for website projects. You’ll no longer need to manage content through email, spreadsheets and messy documents. Everything you produce in GatherContent i
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
Oswald Schilling
Oswald Schilling lived at the turn of 19 th and 20 th centuries. But for us his story neither begins no ends. It’s a journey. A travel by train through admirable, tempting and sometimes dangerous Galicia.
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
Upgrading Sylius the TDD Way: Exploring Behat
Last time, we developed some new features on top of Sylius' core to indicate which products and their variants are low on stock and need replenishing. Now, we move on to seeing our changes in the UI, which means we will need to do a bit of StoryBDD testing.
When browsing the list of products, we want to see a new column called Inventory
which will hold a sum of all available tracked variants' stock amounts.
Writing StoryBDD tests
Behat is the tool we want to use here. After making sure Behat is working well by running any feature from the Sylius package, we create a new features/product/managing_products/browsing_products_with_inventory.feature
file with the following definition:
@managing_inventory
Feature: Browsing products with inventory
In order to manage my shop merchandise
As an Administrator
I want to be able to browse products
Background:
Given the store operates on a single channel in "United States"
And the store has a product "Kubus"
And it comes in the following variations:
| name | price |
| Kubus Banana | $2.00 |
| Kubus Carrot | $2.00 |
And there are 3 units of "Kubus Banana" variant of product "Kubus" available in the inventory
And there are 5 units of "Kubus Carrot" variant of product "Kubus" available in the inventory
And I am logged in as an administrator
@ui
Scenario: Browsing defined products with inventory
Given the "Kubus Banana" product variant is tracked by the inventory
And the "Kubus Carrot" product variant is tracked by the inventory
When I want to browse products
Then I should see that the product "Kubus" has 8 on hand quantity
Again, we describe the make-up of our test product, stating the name, price and available stock of the two variants. If we run this feature, we see a list of paths for available contexts. We aren't interested in any of them, but we also get a hint, so we select None
.
php bin/behat features/product/managing_products/browsing_products_with_inventory.feature
--- Use --snippets-for CLI option to generate snippets for following ui_managing_inventory suite steps:
When I want to browse products
Then I should see that the product "Kubus" has 18 on hand quantity
We create our context in src/Sylius/Behat/Context/Ui/Admin/ManagingProductsInventoryContext.php
and add this:
<?php
// src/Sylius/Behat/Context/Ui/Admin/ManagingProductsInventoryContext.php
namespace Sylius\Behat\Context\Ui\Admin;
use Behat\Behat\Context\Context;
class ManagingProductsInventoryContext implements Context
{
}
Running the feature again doesn't seem to help as we get the same list of contexts as before. That's because Sylius doesn't know anything about our class. We need to configure a service for our context together with what Sylius has in src/Sylius/Behat/Resources/config/services/contexts/ui.xml
. We now search for managing_products
and add this below it:
<service id="sylius.behat.context.ui.admin.managing_products_inventory" class="Sylius\Behat\Context\Ui\Admin\ManagingProductsInventoryContext">
<argument type="service" id="sylius.behat.page.admin.product.index" />
<tag name="fob.context_service" />
</service>
Let's add our sylius.behat.context.ui.admin.managing_products_inventory
service (that's the id
in ui.xml
) to the context services for ui_managing_inventory
suites in src/Sylius/Behat/Resources/config/suites/ui/inventory/managing_inventory.yml
.
We may need to clear the cache. If we run the feature, we now get an option to select Sylius\Behat\Context\Ui\Admin\ManagingProductsInventoryContext
. We then get:
--- Sylius\Behat\Context\Ui\Admin\ManagingProductsInventoryContext has missing steps. Define them with these snippets:
/**
* @When I want to browse products
*/
public function iWantToBrowseProducts()
{
throw new PendingException();
}
/**
* @Then I should see that the product :arg1 has :arg2 on hand quantity
*/
public function iShouldSeeThatTheProductHasOnHandQuantity($arg1, $arg2)
{
throw new PendingException();
}
We can just copy and paste the snippets into the context class we created. Out of curiosity we may import PendingException
just to see the output. Let's add use Behat\Behat\Tester\Exception\PendingException;
to the top of the class and re-run the feature.
We get an error:
An exception occured in driver: SQLSTATE[HY000] [1049] Unknown database 'xxxx_test' (Doctrine\DBAL\Exception\ConnectionException)
That's because we haven't created the test database. These two commands will do that for us now.
Continue reading %Upgrading Sylius the TDD Way: Exploring Behat%
by Bruno Skvorc via SitePoint
New LinkedIn Remarketing Capabilities: This Week in Social Media
Welcome to our weekly edition of what’s hot in social media news. To help you stay up to date with social media, here are some of the news items that caught our attention. What’s New This Week LinkedIn Rolls Out Matched Audiences: LinkedIn introduced Matched Audiences, “a set of targeting capabilities that give you the [...]
This post New LinkedIn Remarketing Capabilities: This Week in Social Media first appeared on .
- Your Guide to the Social Media Jungle
by Grace Duffy via
Friday, April 28, 2017
Nahel Moussi - Portfolio
by via Awwwards - Sites of the day
100+ Facts and Stats About Instagram to be Aware of in 2017 (infographic)
[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]
by Guest Author via Digital Information World
Goodbye Java Channel
As you can tell from the title, I’m writing to say goodbye – to you as well as to the Java channel. It is going on hiatus and this is the last newsletter that goes out. It was a great honor to be your editor! It gave me so many opportunities to interact with interesting […]
Continue reading %Goodbye Java Channel%
by Nicolai Parlog via SitePoint
Upgrading Sylius the TDD Way: Exploring PhpSpec
The post on developing and testing new Sylius features was an introduction to the three types of tests that are used in Sylius - PHPUnit, Phpspec and Behat.
In this part, we'll extend some core classes to indicate color-coded inventory status. First, we'll deal with the back end part. In a followup post, we'll use Behat and test the visual changes. Please follow the instructions in the previous post to get a working instance up and running.
Sylius has an excellent inventory management solution. However, there's always some room for a tweak or two. If you look at the list of products (admin/products) there's no information about available stock. Looking at the variants of a product, we see inventory data, whether it's tracked or not, and the number of total items in stock, if tracked. It would be nice to see that kind of information on the product listing page, too. In addition, the stock level is all or nothing - for example, a green label says "10 Available on hand" or red "0 Available on hand". How about something in-between, say a yellow label for "3 Available on hand" to indicate that stock is low? Then, the store admin can decide it's time to replenish.
Extend ProductVariant and Product models
We want to extend the behavior of both the ProductVariant
and Product
models provided by Sylius, so we can see extra information on stock availability when viewing products.
Create a Bundle
First, we create the src/AppBundle/AppBundle.php
file and register it in app/AppKernel.php
.
<?php
// src/AppBundle/AppBundle.php
namespace AppBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AppBundle extends Bundle
{
}
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = [
// ...
new AppBundle\AppBundle(),
];
}
Next, we inform the autoloader about the new bundle by adding it to the "autoload" section of composer.json
.
Continue reading %Upgrading Sylius the TDD Way: Exploring PhpSpec%
by Deji Akala via SitePoint
#332: TypeScript 2.3 Released
|
by via JavaScript Weekly
Snazzy Info Window – Customizable Info Windows using Google Maps API
Snazzy Info Window is a plugin for customizable info windows using the Google Maps JavaScript API. Open sourced by the people that created Snazzy Maps.
by via jQuery-Plugins.net RSS Feed
Konterball
by via Awwwards - Sites of the day
Facebook Marketing: Why It Is Time to Rethink Everything
Do you use Facebook to market your business? Wondering how marketing on Facebook is evolving? To explore how marketers should adjust to Facebook’s recent and future changes, I interview Mari Smith. More About This Show The Social Media Marketing podcast is an on-demand talk radio show from Social Media Examiner. It’s designed to help busy [...]
This post Facebook Marketing: Why It Is Time to Rethink Everything first appeared on .
- Your Guide to the Social Media Jungle
by Michael Stelzner via
Heather Vandervecht
by Rob Hope via One Page Love
Zapio Technologies
by Rob Hope via One Page Love
Thursday, April 27, 2017
KRM-WEB The Digital Team
We are not another web agency … We are a team of professional web designers and web developers based in paris, involved in the web community.
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
Fizz Portfolio Theme
Premium Portfolio WordPress Theme
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
Effectlab
Κατασκευή Ιστοσελίδων, Ηράκλειο, Κρήτης.
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
Why You are Not Getting Traction on Social Media? 12 Reasons to Consider
[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]
by Guest Author via Digital Information World
Transcript: Ask the UXperts: Meaningful Animation – Getting it Right — with Val Head
Animation is a word that used to make me shudder.
I’m from a generation of devs that grew up in the era of Flash splash screens. Say no more.
But Val Head has changed all that for me.
She has successfully demonstrated that if you are smart about how and when you use animation in your work, the results can be spectacular. Take Stripe’s checkout experience for example. It uses animation to guide you through a process, reducing cognitive load and adding delight. And that is just one of the great examples we chatted about.
If you’ve always been a skeptic, read through Val’s transcript. You won’t be disappointed.
If you didn’t make the session because you didn’t know about it, make sure you join our community to get updates of upcoming sessions.
If you’re interested in seeing what we discussed, or you want to revisit your own questions, here is a full transcript of the chat.
Transcript
Music
Or interactive voice
The post Transcript: Ask the UXperts: Meaningful Animation – Getting it Right — with Val Head appeared first on UX Mastery.
by Sarah Hawk via UX Mastery