Malden web design
Hello and welcome to this web design Web Designer Malden video tutorial.
I’m Owen Corso from Google.
And today, we’re going to build a rich media expandable creative with video.
Let’s start by selecting file, New File.
This opens a dialog box where we will set up our ad.
First, let’s make out high of project.
We have four options– The default is Display & Video 360so we will leave that as is.
💸 How to budget for your web design project 💸 - Web Design is Broken e05
Ant (GitHub) is much more than a React UI kit with a minimalist design aesthetic and every component under the sun. It is a rabbit’s hole that leads to a giant maze of interconnected libraries, with a serious ecosystem surrounding it. There’s a custom build tool based on Webpack called ant-tool, several CLI apps, community scaffolds, and a complete framework (dva, which has its own CLI as well). And the UI components are mini-projects in and of themselves — see this repo for information on each component.
Many of these libraries appear to be very polished, including an entire React animation library. And I’d love to learn more about them, but Ant comes with a challenge — the majority of the documentation is in Chinese.
How’s Your Chinese?
Let me preface this by pointing out that the components library and its terrific style guide have been translated into English by generous volunteers, so the UI kit is completely usable. And the translation effort demonstrates the project’s intentions to open up Ant to a wider audience, boding well for companies considering adopting it.
However, there are some language issues that remain. The English is sometimes confusing or obscure. The maintainer of the library has commented here that they welcome PRs for improving the documentation, so that could be a great way to get involved in this amazing project.Good luck hunting down issues!
Another issue is that issues in Ant.Design are mostly filed and debated on GitHub in Chinese. This could be a deal breaker for enterprise applications, but I’m not sure it should be one for early startups since Ant can be used quite minimally, without making use of smarter features like built-in form validation. Still, if you find an issue or bug with the library, it will be difficult to research previous solutions to your issue, and that’s why I recommend making minimal use of the surrounding ecosystem at this stage.
Popular UI libraries for React include Material-UI, Semantic-UI, Foundation, and Bootstrap (this and this), and they are all fairly mature. Material-UI should be singled out as it massively eclipses the others in popularity, with over 22k stargazers — and over 600 open issues. But it turns out that Ant.Design is a surprisingly worthy candidate as well. It’s battle tested by some of the most well-trodden sites on the web (Alibaba, Baidu), and it boasts a brilliant style guide, custom tooling, and, of course, a comprehensive catalogue of components. It also has only 85 open issues at the time of writing, which is a good thing considering its popularity.
So let’s take a tour of the library, see what it has to offer, and how to get started using it.
The Ant components list is dizzying. Sure, it contains the basics — modals, forms (inline and vertical), navigation menus, a grid system. But it also contains a ton of extras, such as a @mentioning system, a timeline, badges, a seriously nice table system, and other small fancy features, such as an involved address box (see the Habitual Residence field). Have a look — it has everything that a modern web application should, with a tasteful, minimalist aesthetic.
There’s a nice, concise section in the documentation on the guiding principles of Ant.Design. I found it a great read as it got me thinking a lot about UI/UX considerations, especially the “Provide an Invitation” section, where they discuss different ways of making interactions discoverable by a user. By the way, if anyone can recommend me a good book on UX, I would be grateful.
The Ant layout system is comprised of a 24-aliquot (a great new word that I learned from the translated documentation — it means parts of a whole) grid and a separate Layout component than you can choose to use. The grid uses the familiar Row/Col system, but you can also specify a prop called flex which allows you to harness Flexbox properties to define a responsive UI. (See a previous blog post of mine for help grokking the Flex standard.)
Flexbox is now fully supported on just about every browser (with partial support on IE 11 as well as some older mobile browsers), so it should be fine to use. If your customer base is largely Internet Explorer users, which does happen in some industries or countries, you would be wise to abstain from using flex Rows or the Layout component, as Layout is built strictly on Flexbox.
Layout includes components for a Sider, Header, Content, and Footer. Again, these are strictly based on Flexbox, so there’s no choice here — but to be honest I’m not sure what these components give you on top of using the standard Row/Col grid system, aside from a couple extra props you can make use of and possibly some built-in design choices. All in all, it doesn’t seem to me to be hugely useful.
Col elements can be supplied with a span prop to define how many aliquots a column takes up and an offset prop to define an optional offset; Row can take a gutter prop to define space between columns in a row (in pixels, not aliquots).
Here’s a UI example from a side project of mine. It contains one row with two columns:
The code would look something like this:
Ant does not let you down as far as forms are concerned, with options for inline, horizontal, and vertical forms, amazing select boxes, and clear validation messages and icons. In fact, it goes a little overboard here. It allows you to wrap your entire form-rendering component in a higher-order component à la Form.create()(<Component />) to gain access to a built-in validator syntax and custom two-way-binding system (cue audible lip biting). You can then specify standard rules such as ‘required’, or supply custom validator methods. (What are Higher Order Components? Check out this excellent post by James K. Nelson.)
Do you need to use their HOC? Absolutely not, and I’m not sure you should. As I said above, going down that path could expose you to language risk should you encounter bugs and I don’t see why you would want to use a custom two-way binding data system anyway. But you could easily use the HOC and just not use the two-way data binding.
Au Naturel — Plain React Forms
So let’s go over how to use the Ant validation messages without using their higher-order component.
Ant gives us three props that we can supply to each Form.Item component to display validation messages or icons:
- validateStatus — This determines the colour & icon scheme of the validation message (see photo above) — valid options are success, warning, error, and validating.
- help — The validation message to display.
- hasFeedback — This is one of them props that don’t require a value. Just include if you want to display the associated icon, and it defaults to true.
Here’s an example of a simple form element that displays a validation message:
Notice that I used the long-form Form.Item component name. You can make yourself a shortcut for this and any other Ant sub-components as follows:const FormItem = Form.Item;// .. allows you to use:
Form Validation using the Ant Higher-Order Component
Now what if we do want to make use of the Ant Form decorator? It’s fairly straightforward to implement. Create your React component class, and then pass it as an argument to Form.create(). The component can then be exported:class SomeComponent extends React.Component
render() <place_form_here.. />
FancyFormComponent = Form.create()(SomeComponent);export FancyFormComponent as default ; // imported as SomeComponent
Inside your form, decorate your Input fields using the getFieldDecorater method, which exposes a ton of extra props on your component. You can now manipulate form elements directly from the props (eek!).
This example in the documentation gives a thorough demonstration on using the complete higher-order component.
Interactive Components — Message (Alert)
Ant provides a number of other components that give web applications a high degree of interactivity. A great example is alerts — or messages, as they’re called in Ant. Adding an alert is as simple as calling message.success('Great! Item has been saved.') in your component. Message types include success, warning, or error. Just don’t forget to import message (lowercase) from ‘antd’.Minimalism at its Best
As I mentioned above, you can either go all-in on the Ant ecosystem (with its custom Webpack adapter), or just opt for the design framework. I went with the latter and I suspect you might too, not the least because using other parts of the ecosystem could require a working knowledge of Chinese. But I’ll cover both options.
Option 1 — Use the CLI
Ant comes with antd-init, a CLI for generating a complete React application with Ant installed. I do not recommend this route for non-Chinese speakers, but if you want to try it, getting started is easy. Just install the CLI using npm, create a new folder, and run antd-init:npm install antd-init -g; mkdir demo-app; cd $_; antd-init;
You will then be greeted by the following message:antd-init@2 is only for experience antd. If you want to create projects, it’s better to init with dva-cli. dva is a redux and react based application framework. elm concept, support side effects, hmr, dynamic load and so on.`
It’s a rabbit’s hole. Open your new application and you will see that your familiar webpack.config.js file is no longer familiar — the CLI uses ant-tool, a “Build Tool Based on Webpack” that I mentioned above. The documentation is in Chinese, but it appears to set common defaults for Webpack and then allow you to just supply values that you want to override. Here’s what the config file looks like:// Learn more on how to config.
// — https://github.com/ant-tool/atool-build#配置扩展module.exports = function(webpackConfig)
]); return webpackConfig;
The index.js contains a lovely demo page that uses the understated Ant styling.
Option 2 — Use Standard Webpack
This would be my preferred route, but it can be more complicated getting your Webpack settings right at first. The Getting Started page includes some good instructions. First install Ant in your React app:$ npm install antd --save
Ant recommends using their own babel-plugin-import in your .babelrc:"presets": [
"plugins": ["transform-decorators-legacy", ..., ["import", [ libraryName: "antd", style: "css" ]]
Make sure your Webpack includes loaders for .js and .css files, and you should be good to go. To use an Ant component, import it in the module file. E.g.import Row, Col, Icon, Button from 'antd';
There’s no doubt that Ant has a lot to offer as a UI framework, with a formidable catalogue of components and a serious ecosystem around it. It does, however, come with some risk. If you experience an issue with the library, you may be stuck communicating in Chinese. Ultimately I recommend trying it out if you like the minimalist aesthetic, while keeping usage of the peripheral Ant ecosystem to a minimum.
Malden web design
Next, we can select the type of ad.
We want to make an expandable, so we select Expandable on the left.
Next, we can set again ad’s dimensions.
We are building a 320 by 50that expands to 480 by 250.
So I will make those changes.
We then assign the Malden creative a name.
I will leave my Save ToLocation as the default, and leave the talk about set to Quick.
Once I’m happy with my settings, I click OK.
Google Web Designer creates the initial pages of the ad for me with the dimensions I defined.
The collapsed page already contains a Tap Area event to expand the ad and an expanded pageMalden with a close tap area to collapse back down.
Dynamic Exits in Studio - Google Web Designer
WEB DESIGN IS BROKEN.
It's just crumbled tosand in your hands and it's just disappointing.
Today we are going to talkabout budget that the big one: budget budget BUDGET! It is such a huge topicbut I'm finally gonna lay down the final word on budget, specifically how much youshould spend when you're buying a website.
I've got the answer for you.
Youready you ready for it? 500,000 pounds a week! There we go! Did it!(that was easy) I'm out.
See you later.
(web design isfixed) No.
If you do have five hundred thousand a week to spend on a websiteyou should get in touch with me.
I think we could work with that.
Budget it's sucha huge topic no one's really kind of tackling the answers of a few there's afew articles on the internet that are like "well if you want this type ofwebsite you should spend around this much and if you want that type ofwebsite you should spend around that" Much it really comes down to a fewfactors namely your attitude towards risk, whether you're whether you'recoming from a gain or a pain perspective and how much you actually stand to makeout of it.
What you're really doing is investing in a website: you're lookingfor it to create a return you want it to be putting money back into your pocket.
If you don't want it to do that then it's only gonna be acting detrimental,it's only gonna be taking money or reputation or whatever out of yourpocket and you really need to rethink the reasons why you're doing this in thefirst place.
Go back to one of my previous videos wherewhat where I ask you the question why are you doing this in the first place.
Sothe first thing that we've got to understand when we're asking thequestion how much does a website cost, how much do I spend on a website, we'vereally got to appreciate that all you're doing is you'retrying to give yourself what they call an 'anchor' This is literally just apsychological stake in the ground so that your brain can go "okay well I'vegot a point to start from" It really doesn't matter what that number is butit becomes your anchor: the first price you hear becomes your anchor and aroundthat point you will base all value judgments.
So be careful when you'reasking this question because you might end up with another massivelyoverinflated number that completely puts you off of even going down that routewhen actually you could have got something that worked for you at areasonable price, and if you get a number that's too lowyou're gonna look around and think "hey well this is all way too expensive" andnot actually start engaging in the conversations to help you understand thevalue that it could bring there is.
Another thing that you need to be reallyaware of when you're trying to create a budget for our website and that is thatyou like me like everyone else on the planetwe are naturally risk-averse: yeah we have loss aversion.
Most people agree withthe statement that "it is better to not lose five pounds than it is to find fivepounds" It's the same five pounds! It's weirdwe're hardwired to avoid losses.
We try and keep what we have and thereforewe're less likely to risk that in search of future gains so this means thatyou're naturally going to be skeptical about the gains that you can create witha website you're naturally gonna want to spend as little as possible andthat means that you're at a risk of actually under investing when you'rebuying a website Yourisk of under-investing because you're averse to loss.
I'm exactly the same: theamount of times that I've bought things that I need on say Amazon and gone forthe cheapest possible one because I wasn't entirely sure if, you know, if itwould bring me the thing that I was looking for - the reality is that I endup spending double because, you know, buy cheap buy twice.
But you can actuallyunder invest and if you do especially in something like a website it's like underinvesting in in your team member: if you if you hire a new salesman andyou under invest in him well then he's not gonna do as good a job as hepossibly could do if you're picking if you're picking your teammembers based on the salary that they're willing to accept then you're probablyunder investing and you're not actually realizing that if you spend a little bitmore you can get like disproportionately larger returns.
The third thing that youreally need to be aware of but before you start thinking about your budget iswhether you're coming from a pain perspective or a gain perspective.
Areyou looking to this website to help you reach new markets to help you, I don'tknow, dominate the competition; to help you boost sales/Is it a gain thing? Are you launching a new business a new product? Or are youlooking at it from a pain perspective? Are you looking at it and thinking wellhow can I use this website to help me automate things, cut costs, reduceoverhead - things like that.
Maybe you've got a whole bunch of bad reviews on yourexisting website and so you're almost being forced by your customers forced byyour marketplace to up your game what you're really trying to do there ismanage losses.
You approach these.
you can buy the same thing in two different waysand your experience and therefore what you're willing to spend completelychanges depending on whether you're coming from a pain or a gain perspective.
The final line on it is using an analogy that we use sometimesit's based around cars basically.
Are you are you just trying toget to and from work or are you trying to win Formula One the Formula One GrandPrix you need very different types of cars to be able to do each of thosethings.
There's no point in buying a Formula One car because when you pull upin the Sainsbury's car park you're gonna have nowhere to put your shopping.
Likewise there's no point in buying a Fiat Panda and taking it to the track.
Sothe better you can understand what type of race is that your business is tryingto win, or what type of things your business are trying to do with a websiteand what that's worth to you is the better you're gonna be able to startcreating a realistic budget and get a return that's more in line with yourexpectations.
My name is Aaron Taylor I'm helping youto make better decisions and have better conversations when you're buying awebsite.
till next time.
[singing] I fixed webdesign, said I fixed web design.
💸 How to budget for your web design project 💸 - Web Design is Broken e05
CHRIS: Welcome! My name is Chris and I'm a designer on the Google Web Designer team Today I'll walk through a new dynamictemplate with an emphasis on text We'll cover customizations includingconfigurable panels selecting nested elements, dynamic text fitting, editing groups and a demonstration of the template when uploaded into Display &Video 360 Ad Canvas Let's get started First let's navigate to the templatelibrary You'll find the template under the thumbnail Data Driven for Display & Video 360 Notice we have three new template layouts to choose from Blank Slate, Cue Cards and Panorama but today we'll be focusing on cue cards Let's create a template using cue cards I'm going to give the file a quick name andclick Create Now before we proceed in Google Web Designer let's take a quicklook at a design schematic of cue cards So cue cards is a template that utilizeselements and assets such as a logo, a background image, a swipe gallery a swipe gallery navigation, an animated arrow icon and three dynamic text groupslabelled SlideA through SlideC You also notice a few tap areas utilized for dynamic exits OK jumping back into Google Web Designer Let's review a fewimportant panels for customizing and configuring cue cards the template In the timeline you'll notice we have a lock icon Let's click the lock icon to unlock and edit the layer Let's select componentswipe-vertical Next navigate to the Properties panel The Properties panel iswhere we can configure the elements attributes style, position and size, andalso edit the component properties You'll find this component is driventhrough the use of groups SlideA, SlideB, and SlideC Now let's move to the Library panel We'll find the individual group definitions and group contents in the Library We can right click a group nameclick Edit and edit the contents of the group Protip: to quickly inspect theelements inside this group We'll use the Outliner The Outliner is a really coolnew tool for enabling us to view nested elements inside the group versus clicking through your divisions you can rapidly find which element you would like to target and edit You'll also notice in this creative we have twodivisions: wrap-SlideA txt-wrap-SlideA These are dynamic text divisions thathave a little bit of CSS logic that helped to auto center them depending upon what type of information comes down through the feed Now let's click on txt-description-SlideA in the Outliner You'll also notice there's a T icon next tothe txt-description-SlideA This signifies that it's a text element With the text element selected We will come up to the panel at the top named Text In the text panel you'll be able to configure text fitting of dynamic text and also the styling of the text in your document We can set a maximum size andalso a minimum size and when the dynamic text is passed to the division it will display the rendered fitted text size Now let's navigate back to the root ofthe document you'll notice we have breadcrumbs in the bottom left-hand corner of the stage right above the timeline Let's click Div to jump back tothe root of our document Now two more notable panels are the Events panel and the Dynamic panel In the Events panels we have events thatare specific to the control over the animated arrow icons behavior during autoplay and also during user gesture Next to the Events panel we have theDynamic tab These are the dynamic bindings that enable this document to bebound dynamically including assets, text, styling, and click exits You'll also notice Brand Awareness ishighlighted Brand Awareness is the schema we are going to be utilizing inside of Display & Video 360 Ad Canvas click OK to exit the dialog As an added bonus I would like to demonstrate the power of this creative If I jump over to a mock from a visual designer this is technically the specthe designer would like me to build to This creative is dynamic so the textcould technically be interchanged Let's fast forward to what the creative canlook like if I built it using Google Web Designers Cue Cards template You'll notice as I refresh this page the creative auto animates The arrow tries to grab the users' attention by animating and jumping The creative also has anavigation on the right hand side where we can drive the creative Users can also use gesture to scroll through the creative upon user interaction Let's say I wanted to publish this creative and upload it into Display & Video 360Ad Canvas So you might have a question what is the Ad canvas The Ad Canvas isa visual editor you can use to build and edit creatives in real time The Ad Canvas only supports our Google Web Designer data driven templates and also custom variations So in DV360 my template is loaded in the center and on the right hand side I have a UI that is editable on-the-fly You'll notice textfitting is working Variations and iterations can be knockedout proofed and signed off in a matter of minutes now with Google Web Designer'snew data driven templates in the Ad Canvas The new dynamic workflow hasnever been easier if you would like to learn more about Ad Canvas please look in the details section of this video for a Display & Video 360 Ad Canvascomprehensive demonstration link This wraps up our video Please have funcreating new dynamic ads Thank you from the team at Google Web Designer.
KENT: My name is Kent.
I'm the creativespecialist on the Google Web Designer team and I'd like to review dynamic exits in Studio A dynamic exit refers to the URL loaded when a dynamic ad is clicked on It's usually related to the product being shown and that URL comes from yourdata feed This video describes the workflow for setting up dynamic exits in Studio Now the simplest case is an ad which doesn't use a gallery or carouselcomponent Here's an example from another one of my videos titled Dynamic inStudio - Google Web Designer You'll see my creative contains only placeholder content But when I preview it in Studio you'll see it loading data from my feed Refresh it Now we're seeing product number 0 Look at my feed for product 0 we're seeing this name, this image and here is the URLfor my exit for this product Now when I set up this ad, I used the simple static exit So when I click anywhere on the ad it'll load a static URL like a landingpage What we want to have happen is this to exit to the URL associated for that product Let me show you how to do that in Google Web Designer First thing we'll do is select the current event and delete it Then we're going to look over inour components panel and open up Interaction and grab a taparea Then with the Transform control selected I'm going to stretch this out to cover the ad And in my Dynamic panel I'm going to click the plus icon to make a new binding We'll select that tap area We're going to look for Exit override URL And we'regoing to drill into our feed the first item, exit URL, and get the URL Click OK and we'llpublish this Now when that's done we'll switch over toStudio We'll reload our creative I'm going to click on the ad Now I'll see we'regetting product one Just to make sure this is really working let's reload itand get another image Here's number five Let's click on that Here's product fiveso that's good Now next thing you might want to do is combine static and dynamicexits in a single ad so you might want to have a logo up here which goes to a home page and maybe some disclaimer text down here which goes to a legal page So let's see how we can do that Back in Google Web Designer I'm going to double click this newtaparea and give it a new name exit-default then I'll copy and paste it I'm going to call that one exit-product and this layer is on top So I'm going tomake this just cover the product area and I'm going to select exit-default andchange the exit on that Now one trick over here in the Dynamic panel I can choose Selection and now I would just see the binding on that selection I'm going to select it and delete it With it still selected I'm going to move to the Events panel click the plus icon and add a new event Google ad, exit ad, gwd-ad I'm going to put an arbitrary ID in here and I'm going to put a full URL to mylanding page OK and we're going to publish again Now when that's done, we'll switch back to Studio and reload the page Now when I click in the corners I'm getting my static URL And when I click on the product I'm getting the correct product That concludes this demo, dynamic exits in Studio Thanks for watching.