Skip to main content

Home/ Web Development, Design & Programming/ Group items tagged value

Rss Feed Group items tagged

Herb Tucker

PHP: Expressions - Manual - 0 views

  • (scalar values are values that you can't 'break' into smaller pieces, unlike arrays, for instance
  • Expressions are the most important building stones of PHP. In PHP, almost anything you write is an expression
  • The simplest yet most accurate way to define an expression is "anything that has a value"
  • ...16 more annotations...
  • PHP also supports two composite (non-scalar) types: arrays and objects. Each of these value types can be assigned into variables or returned from functions.
  • PHP is an expression-oriented language
  • Since assignments are parsed in a right to left order, you can also write '$b = $a = 5'
  • and that's the value of the assignment itself
  • A very common type of expressions are comparison expressions. These expressions evaluate to either FALSE or TRUE. PHP supports > (bigger than), >= (bigger than or equal to), == (equal), != (not equal), < (smaller than) and <= (smaller than or equal to). The language also supports a set of strict equivalence operators: === (equal to and same type) and !== (not equal to or not same type). These expressions are most commonly used inside conditional execution, such as if statements.
  • and is assigned back into $a,
  • The last example of expressions we'll deal with here is combined operator-assignment expressions
  • Adding 3 to the current value of $a can be written '$a += 3'
  • This means exactly "take the value of $a, add 3 to it, and assign it back into $a"
  • Any two-place operator can be used in this operator-assignment mode, for example '$a -= 5' (subtract 5 from the value of $a), '$b *= 7' (multiply the value of $b by 7), etc.
  • There is one more expression that may seem odd if you haven't seen it in other languages, the ternary conditional operator:
  • If the value of the first subexpression is TRUE (non-zero), then the second subexpression is evaluated, and that is the result of the conditional expression. Otherwise, the third subexpression is evaluated, and that is the value
  • Some expressions can be considered as statements. In this case, a statement has the form of 'expr ;' that is, an expression followed by a semicolon. In '$b = $a = 5;', '$a = 5' is a valid expression, but it's not a statement by itself. '$b = $a = 5;' however is a valid statement.
  • One last thing worth mentioning is the truth value of expressions. In many events, mainly in conditional execution and loops, you're not interested in the specific value of the expression, but only care about whether it means TRUE or FALSE. The constants TRUE and FALSE (case-insensitive) are the two possible boolean values.
  • Throughout the rest of this manual we'll write expr to indicate any valid PHP expression.
  • Functions are expressions with the value of their return value.
  •  
    Expressions defined and discussed with highlighting
Soul Book

Color Theory For Designers, Part 2: Understanding Concepts And Terminology - Smashing M... - 0 views

  • ChromaChroma refers to the purity of a color. A hue with high chroma has no black, white or gray in it. Adding white, black or gray reduces its chroma. It’s similar to saturation but not quite the same. Chroma can be thought of as the brightness of a color in comparison to white.In design, avoid using hues that have a very similar chroma. Opt instead for hues with chromas that are the same or a few steps away from each other.
  • SaturationSaturation refers to how a hue appears under particular lighting conditions. Think of saturation in terms of weak vs. strong or pale vs. pure hues.In design, colors with similar saturation levels make for more cohesive-looking designs. As with chroma, colors with similar but not identical saturations can have a jarring effect on visitors.
  • using a hue with a high saturation against a background with low saturation can make the former really stand out.
  • ...10 more annotations...
  • ValueValue could also be called “lightness.” It refers to how light or dark a color is. Ligher colors have higher values. For example, orange has a higher value than navy blue or dark purple. Black has the lowest value of any hue, and white the highest.When applying color values to your designs, favor colors with different values, especially ones with high chroma. High contrast values generally result in more aesthetically pleasing designs.
  • This website combines blue hues with two different values. Because the different values have enough contrast, the overall look is visually appealing.
  • Combining colors with similar muted saturation levels creates a soft design, which is emphasized by the watercolor effects.
  • Colors with very high chroma are best used in moderation
  • Cyan has a high chroma and so really stands out against black and white
  • TonesTones are created when gray is added to a hue. Tones are generally duller or softer-looking than pure hues.Tones are sometimes easier to use in designs. Tones with more gray can lend a certain vintage feel to websites. Depending on the hues, they can also add a sophisticated or elegant look.
  • Tones can be intensified by adding gray around them
  • ShadesA shade is created when black is added to a hue, making it darker. The word is often incorrectly used to describe tint or tone, but shade only applies to hues made darker by the addition of black.In design, very dark shades are sometimes used instead of black and can serve as neutrals. Combining shades with tints is best to avoid too dark and heavy a look.
  • TintsA tint is formed when white is added to a hue, lightening it. Very light tints are sometimes called pastels, but any pure hue with white added to it is a tint.Tints are often used to create feminine or lighter designs. Pastel tints are especially used to make designs more feminine. They also work well in vintage designs and are popular on websites targeted at parents of babies and toddlers.
  • While you don’t necessarily have to remember all of these technical terms, you should be familiar with the actual concepts, especially if you want to master part 3 of this series (in which we create our own color schemes). To that end, here’s a cheat sheet to jog your memory:Hue is color (blue, green, red, etc.).Chroma is the purity of a color (a high chroma has no added black, white or gray).Saturation refers to how strong or weak a color is (high saturation being strong).Value refers to how light or dark a color is (light having a high value).Tones are created by adding gray to a color, making it duller than the original.Shades are created by adding black to a color, making it darker than the original.Tints are created by adding white to a color, making it lighter than the original.
Promatics Technologies

Custom Web Application Development Company - 0 views

  •  
    Our values are driven by our commitment to deliver excellent services to our clients. We truly believe that our success is dependent on the success of our clients and we make sure all of our energies are aligned to achieve that. Our core values are reflected in everything we do and are an integral part our company DNA. We practice the following values to fuel our mission. Promatics is a Web Design and Development Company in India, offers Web Application Development and Mobile Application Development Services.
Soul Book

The Incredible Em & Elastic Layouts with CSS - 0 views

  • Elastic design uses em values for all elements. Ems are a relative size, written like this: 1em, 0.5em, 1.5em etc. Ems can be specified to three decimal places like so: 1.063em. “Relative” means: They are calculated based on the font size of the parent element. E.g. If a <div> has a computed font size of 16px then any element inside that layer —a child— inherits the same font size unless it is changed. If the child font size is changed to 0.75em then the computed size would be 0.75 × 16px = 12px. If the user increases (or decreases) text size in their browser, the whole interface stretches (or shrinks.)
  • All popular browsers have a default font size of 16px. Therefore, at the default browser setting, 1em = 16px.
  • The <body> inherits it unless styled otherwise using CSS. Therefore 1em = 16px, 0.5em = 8px, 10em = 160px and so on. We can now specify any element size we need to using ems!
  • ...9 more annotations...
  • However, (gasp) IE has a problem with ems. Resizing text from medium (default) to large in IE5/6 would lead to a huge increase in font size rather than the gradual one expected. So another selector is needed to get IE to behave: html{ font-size:100%; }
  • Let’s give our <body> some more style, and center everything in the viewport (this will be important later for our content wrapper.) Our initial CSS ends up like this: html{ font-size: 100%; } body{ font-size: 1em; font-family: georgia, serif; text-align: center; color: #444; background: #e6e6e6; padding: 0; margin: 0; }
  • 1 ÷ 16 × 740 = 46.25em (1 ÷ parent font-size × required pixel value = em value)
  • While we're here, we might as well add some typographic goodness by selecting a basic leading and adding some vertical rhythm, with everything expressed in ems.
  • Set a 12px font size with 18px line height and margin for paragraphs
  • Dividing the desired line height (18px) by the element font size (12px) gives us the em value for line height. In this example, the line height is 1 and a half times the font size: 1.5em. Add line height and margin properties to the CSS: p{ font-size: 0.750em; line-height: 1.5em; margin: 1.5em; } Now the browser will say to itself, “Oh, line height and margin is set to 1.5em, so that should be 1.5 times the font size. What’s the font size, again? 12px? OK, cool, make line height and margin 1.5 times that, so 18px.”
  • To retain our vertical rhythm we want to set an 18px line height and margin. Easy: If the font size is 18px then 18px in ems is 1em! Let’s add the properties to the CSS (and make the font weight light:) h1{ font-size: 1.125em; line-height: 1em; margin: 1em; font-weight: 300; }
  • Jon, good article and very useful chartm but your text sizing method has one major drawback. If elements with font-sizes set in em’s are nested, i.e with lists, these elements inherit the font size. Therefore each child element will be 0.75em (or 75%) of the previous one: See an example here. (Would have posted the code put it was coming out really ugly!) I would recommend against using that method and setting the global font size in the body tag i.e. 'font-size:75%' for 12px. Then only setting different font-sizes where necessary.
  • Thanks Will, interesting point, but that is solved with a simple font-size:1em on the first child. Retaining the default ensures that even images are sized correctly in ems. IE (surprise) will compute incorrectly against a parent length equivalent to 12px. My preference born out by some minor but painful computed size errors in complex layouts is not to adjust the body, and only set font size where necessary for specific elements.
  •  
    A nice and simple explanation of using EMs to make elastic layouts
builderfly

How to Increase Average Order Value of your Ecommerce Store - 0 views

  •  
    The goal of an online store is to make money. When you increase average order value, you get more money from each transaction making your store more beneficial. Average order value is the average dollar amount a consumer spends when placing an order on your store.
adixsoft

Android App Development Services | Adixsoft - 0 views

  •  
    Adixsoft is one of the Best Android App Development Company in India which provides Android App Development Services at Affordable prices for your business need. We have the most talented android ecosystem development teams who are willing to fulfill you're all business need requirement. We create websites on all major IT platforms depending on the varied requirements of our target audiences. We know the importance of brand value and our services are focused on our valued patron's goals. We value the time and budget of our clients and ensure the delivery of projects on time. We believe in 100% customer satisfaction. We deliver quality at an affordable price with 100% Money back guaranteed. Contact us for further information. We will reply to you within a moment. Adixsoft Technologies (India Office) E-44, Ground Floor, Sector-3, Noida +91 120 430 9894, +91 9958 146 505 Skype: adixsoft Email: info@adixsoft.com
Anaya Khan

Fail to generate sales lead? Here are top reasons why - 0 views

What is sales lead?  A sales lead is a hired dedicated dot net developers potential customer or prospect that has shown an interest in a company's product or service, and has provided con...

dedicated dot net developers in Liverpool

started by Anaya Khan on 13 Jan 23 no follow-up yet
Vernon Fowler

Official Google Webmaster Central Blog: Using the robots meta tag - 0 views

  •  
    Valid meta robots content values Googlebot interprets the following robots meta tag values: NOINDEX - prevents the page from being included in the index. NOFOLLOW - prevents Googlebot from following any links on the page. (Note that this is different from the link-level NOFOLLOW attribute, which prevents Googlebot from following an individual link.) NOARCHIVE - prevents a cached copy of this page from being available in the search results. NOSNIPPET - prevents a description from appearing below the page in the search results, as well as prevents caching of the page. NOODP - blocks the Open Directory Project description of the page from being used in the description that appears below the page in the search results. NONE - equivalent to "NOINDEX, NOFOLLOW".
Arch Aznable

Redis - Open Source Advanced key-value Store (NoSQL) | Blogfreakz - Web Design and Web ... - 0 views

  •  
    Redis is an open source, advanced key-value store. This is often referred to as server data structure because the key can contain strings, hashes, lists, sets and set sorted
imgtech

Imagine Technologies(Imgtech): PAY PER CLICK- THE VALUE FOR MONEY AND BUSINESS - 0 views

mariaalbaker

Points that make you realize the Value of a Great Business Website - 0 views

  •  
    The blog mentions all relevant points about the efficacy of a business website in the online market sphere. It is one of the most effective internet marketing tools that help to increase your brand value in the international front.
Ogma Conceptions

Our Key Values - Ogma Conceptions - 0 views

  •  
    Ogma Conceptions believe in a core set of values which help each member to work through critical problems on their own.
Raja uk

Real Person | A jQuery Captcha | Ajaxmint.com - 0 views

  •  
    This plugin is designed to help overcome automated form submission by requiring a real person to identify text made up of dots. The entered value is compared on the server with the generated value to determine whether processing should continue.
Raja uk

Simple AJAX progress bar | Ajaxmint.com - 0 views

  •  
    With few lines of JavaScript and CSS you can make simple AJAX progress bar. JavaScript will periodically ask for progress value and server will respond with XML. Progress value should be extracted from the XML and displayed as width of the DIV element.
Herb Tucker

Linux Knowledge Base and Tutorial - 0 views

  • The UMASK value masks out the bits. The permissions that each position in the UMASK masks out are the same as the file permissions themselves. So, the left-most position masks out the owner permission, the middle position the group, and the right most masks out all others. If we have UMASK=007, the permissions for owner and group are not touched. However, for others, we have the value 7, which is obtained by setting all bits. Because this is a mask, all bits are unset. (The way I remember this is that the bits are inverted. Where it is set in the UMASK, it will be unset in the permissions, and vice versa.)
  • The problem many people have is that the umask command does not force permissions, but rather limits them
  • Therefore, setting the UMASK=007 does not force creation of executable programs, unless the program creating the file does itself).
  • ...6 more annotations...
  • - - regular file c - character device b - block device d - directory p - named pipe l - symbolic link
  • Lets look at a more complicated example. Assume we have UMASK=047. If our program creates a file with permissions 777, then our UMASK does nothing to the first digit, but masks out the 4 from the second digit, giving us 3. Then, because the last digit of the UMASK is 7, this masks out everything, so the permissions here are 0. As a result, the permissions for the file are 730. However, if the program creates the file with permissions 666, the resulting permissions are 620. The easy way to figure out the effects of the UMASK are to subtract the UMASK from the default permissions that the program sets. (Note that all negative values become 0.)
  • You can change it anytime using the umask command. The syntax is simply umask <new_umask>
  • Here the <new_umask> can either be the numeric value (e.g., 007) or symbolic. For example, to set the umask to 047 using the symbolic notation, we have umask u=,g=r,o=rwx
  • Where "new_owner" is the name of the user account we want to sent the owner of the file to, and "filename" is the file we want to change. In addition, you can use chown to change not only the owner, but the group of the file as well. This has the general syntax: chown new_owner.new:group filename
  • Another useful trick is the ability to set the owner and group to the same ones as another file. This is done with the --reference= option, which sets to the name of the file you are referencing. If you want to change just the group, you can use the chgrp command, which has the same basic syntax as chown. Not that both chgrp and chmod can also take the --reference= option. Further, all three of these commands take the -R option, which recursively changes the permissions, owner or group.
Vernon Fowler

Crunchie Corner Lab | MailChimp Labs - 3 views

  •  
    The Crunchie Corner Lab is a simple tool that allows you to see how a variety of different borders, colors, shadows and radius values affect the display of your fancy CSS3 rounded corners. Just change the field values below to start experimenting.
Rosalie Smith

9 Excellent Accessories that Inflate your iPhone's Value - 0 views

  •  
    Just like an ideal scarf can make your outfit look different in the crowd, an accessory paired up with the iPhone too can take your device to an extreme comfort making it look more stylish.Read more at: http://toronto.fortuneinnovations.com/news/9-excellent-accessories-inflate-your-iphone%E2%80%99s-value
qualityanalyst

Web Designing and Development Company New York - 1 views

The following Code of Ethics presents the core values of Codea members and, more broadly, of the Information Technology Service profession. These values provide the foundation for the Member Code o...

design web development website webdesign programming tools company Web Design CSS

started by qualityanalyst on 02 Aug 17 no follow-up yet
esigners

A Complete Guide To Brand Building - 0 views

  •  
    Brand building remains a more meticulous effort than what one can imagine - not necessarily painstaking but definitely more complex than what we envisaged - perhaps a decade ago! Today, brand building is not solely about steering awareness but "experience" as well. In other words, your work as a digital marketer remains incomplete if: * You only guarantee rankings without easy recall value * If people are not searching your brand name on Google * If, for your customers, you're not yet in the same bracket as that of your major competitors Documented below are a few steps with the help of which you can shore up your brand building efforts: Let us tell you that it all starts with a strong foundation. And by basics we mean everything starting from website speed and company goals to brand logo and business equity. Here's a look! * What has the business set out to do? Is there parity between what the brand the promises and what it delivers? * Does the brand logo have good recall value? * Is the website fast or responsive? * Are you analyzing market trends by studying your competitors? Earning Trust That's of course - integral to your brand building efforts. Today, brands are increasingly finding it difficult to garner trust solely by virtue of advertisements. There is a lot of thought which goes into establishing credibility: * Don't mislead your customers by false e-mails * Don't send bulk e-mails to people who you don't really know * Educate them through short videos and infographics Collaborate with influencers and brands: What is popularly known as co-branding, has actually emerged as one of the easiest way with the help of which you can create brand awareness and generate leads. The most valuable partners that you can rope in are - influencers, functional partners and lead partners.
annie1509

Leading Value Added Services: "Exceeding Expectations"! - 1 views

  •  
    If you are in search of a value added services provider company in India, African region or Bangladeshthen Snowmicro would be an accurate choice for the best solutions.
1 - 20 of 182 Next › Last »
Showing 20 items per page