Categories
KnockoutJS

KnockoutJS – Declarative Bindings

To connect data to UI declarative bindings are used. As bindings and Observables both are different, using normal javascript object you can bind view. Declarative Bindings consists of two values i.e. name and value: Full name: <input data-bind=”value: fullName, valueUpdate: ‘afterkeydown’” /> Here when each key is pressed value will be updated.

Categories
Css3 Html5

CSS3 required styles

Using HTML5 required style you can validate your form and show error. But sometimes you need to give a style like keep the color red for error or green on success.  Here’s how to use CSS3 required. Here is a sample example for required css: <!DOCTYPE html> <html> <head> <title>CSS3 styles</title> <style type=”text/css”> input[type=”checkbox”]:required:invalid + […]

Categories
Html5

Tips for responsive design

A new web standard that emerges into the web world is responsive design where many software companies have accepted the challenge and leads to a new design solutions. Here we will discuss some responsive design tips which will help to you in your design to make it more perfect. Plan first and design: Make sure […]

Categories
MySQL

Replace NULL values

You can show the null values which represent the concept of missing or inapplicable information, with other values for better data representation. Suppose we have a table as below: Name Country John India Jane Australia Tim [NULL] So if you query from the database the null result will show the blank result. You can replace […]

Categories
Feature Story Technology

What Is Construction Defect Management Software and Why Do You Need It?

Construction projects can be complicated, with many moving parts, teams, and deadlines to manage. Making sure the finished product is high-quality is essential. But finding and fixing problems during construction, especially in large projects, isn’t easy. That’s where Construction Defect Management Software comes in. It helps teams find and fix problems. What Is Construction Defect […]

Categories
KnockoutJS

Components of KnockoutJS

Components are way of organizing the UI code for structure wise and promote code re-usability for a large application. Components can be registered using the ko.components.register() API. ko.components.register(‘componentname’, { viewModel: {…}, template: {….) }); <!DOCTYPE html> <head> <title>Components of KnockoutJS</title> <script src=”https://cdnjs.cloudflare.com/ajax/libs/knockout/3.2.0/knockout-min.js”></script> </head> <body> <h4>Example 1: without parameters</h4> <div data-bind=’component: “example-editor”‘></div> <h4>Example 2: passing parameters</h4> […]

Categories
Feature Story Web Design & Development

Top 5 Tips to Choose Best Web Application Development Company

Since 59% of the global population is looking for products and services online, it is imperative that your company has a strong online presence to stand ahead of competitors. Customized web applications offer greater security, scalability, and features that are basically designed to meet the demands of individual businesses. Custom creation, as opposed to off-the-shelf […]

Categories
MySQL

MySQL copy table

It is very useful to copy table data from a old existing table to a new table when you need to back up data and replicating the production data for testing. To copy data from one table to another table, you can use CREATE TABLE and SELECT statements as follows. Simple example of copy table: […]

Categories
Feature Story Health

The Rise and Fall of Quaaludes: A Historical Perspective on a Controversial Drug

Introduction Quaaludes, short for methaqualone, is a sedative-hypnotic drug that gained notoriety in the 1960s and 1970s. Initially prescribed as a sleep aid and muscle relaxant, it soon became a popular recreational drug. This article explores the history, uses, and controversies surrounding Quaaludes, shedding light on a bygone era of pharmaceutical experimentation. The Birth of […]

Categories
Css3

Webfonts Explained

Unlike web safe fonts a webfont is a special font used on websites using the CSS @font-face declaration. A webfont has four flavors. A TrueType, WOFF, EOT and an SVG file. To target in different browsers each one is designed. You will require all four files when using webfonts for a website. You can get […]