Alex Lambert

Alex Lambert


Web-components compiler for Deno



use Ogone to compile web-components for your applications. it’s based on Deno. Actually Ogone is under an experimental phase. avoid using it for production. Ogone has it own extension *.o3 which allow some new features. No Proxies, no getters, no setters used for the reactivity, just code…

Join Discord


import o3 from '';{
  entrypoint: 'path/to/root-component.o3',
  modules: '/modules',
  port: 8080,


After the first example, in your root-component.o3, you can make this first greeting app

    name: SRNV
<p>Hello ${name}</p>

let’s change the name after 1 second.

    name: SRNV
    setTimeout(() => { = 'World';
    }, 1000);
<p>Hello ${name}</p>

this will only update the textnode containing ‘Hello ${name}’ and replace name by it’s value. You certainly recognized the default expression of a switch statement.

so now what is proto def ?

Making the choice to use only the switch statement to rule the code, includes that the wordings has to be clear enough to understand what is going on.

instead of using script tag, I choosed to use proto tag which is a custom element. the fact is, when we define the Ogone components we are not building a module js. you wont be able to use inside <proto> the import statements. we will see after how to import modules inside your component.

at this point, it means Ogone has to read something that is not conventionnal. It’s all new to code component only in a switch statement.

ok but def ?!

def means ‘definition’ or ‘define’ (like Python), this custom statement let you define the data of your component. def is the area that only supports YAML language


Ogone will wrap your code into a tiny function which takes 3 arguments. the state of the component, the context of the function and an event (Event | undefined)

(function (_state, ctx, event) {
  switch (_state) {

why in a switch statement ?

Switch statement provides an out of the box well structured code. it’s globally readable and understood by all. And Ogone is follwing a minimalistic philosophy. using few options/expressions to structure the code is a good way to make it clear, readable, radically clean.

Expressions and Custom Expressions

Following this structure of declarations is strongly recommanded:

  • def* (YAML)
  • before-each* (for global declarations)
  • case
  • default

*only supported by Ogone

Learn Ogone

to see more stuffs from Ogone, clone this repository

deno run --allow-all --unstable examples/app/index.ts

Some examples/

Async component example

read this documentation on Async Components.

// require statement tells to the parent component what is needed inside the component.
require id as Number;
// use statement tells to Ogone to use the file as store-component
use @/examples/tests/async/reloading/store.o3 as 'store-component';

<store-component namespace="user"/>
<proto type="async">
    user: null
  before-each: // 0.6.0
    const getUser = () => Store.dispatch('user/getUser',
        .then((user) => {
          this.user = user;
          return user;
  case 'async:update':
    getUser().then(user => Async.resolve(user));

<div> Welcome ${user ? user.username : ''}</div>
<img src="public/ogone.svg"  --await />

let’s see what we can do inside the parent component

use @/examples/tests/async/reloading/async.o3 as 'async-component';
use @/examples/tests/async/reloading/store.o3 as 'store-component';

<store-component namespace="user" />
<async-component :id="id" --await --then:user-loaded />
<proto type="async">
    id: 1
  case 'then:user-loaded':
    Store.commit('user/USER-IS-LOADED', ctx)
      .then(() => {

for more informations on async components readme.

Reflected datas

read the docs on reflected datas

    name: SRNV
    fullname: ''
    this.fullname => + Math.random();
    setTimeout(() => { = 'Rudy';
    }, 1000);
<p>Hello ${fullname}</p>

more on reflected datas

    x: 0
    y: 0
      name: Test
      origin: 0
      test: []
    //  this is a reflection
    this.position.origin => this.x;
    // you can reflect any property of your data
    this.position.test[this.position.origin -1] => this.position.origin;
    this.position.test[this.position.origin] => 'yup';
    // or => {
      return `${this.x}, test ${this.y}`;
    setInterval(() => {
    }, 500);
<p>${} ${position.origin}</p>
<p --for="position.test as (item)">

for more informations on reflected datas

menu component example

use @/examples/app/stores/ as 'store-component'
use @/examples/app/components/menu/tree-recursive-button.o3 as 'tree-recursive'
use @/examples/app/components/logo.o3 as 'logo-el'

<store-component namespace="menu" />
<proto def="examples/app/defs/menu-main.yml">
    isOpen: false
  case 'click:toggle-menu':

<div class="left-menu"
  --class="{ close: !isOpen }"
  <div class="header">
    <logo-el --click:toggle-menu></logo-el>
  <div class="tree">
    <tree-recursive --for="menu as (item)" :item="item">
<div --class="{ darken: isOpen }" --click:toggle-menu></div>

recursive component example

require item as Object

use @/examples/app/components/menu/tree-recursive-button.o3 as 'tree-recursive'
use @/examples/app/components/scroll.o3 as 'scroll'

    openTree: false
  case 'click:toggle':
    this.openTree = !this.openTree

<div class="container">
  <div class="title" --click:toggle --router-go="item.route">
    <span --class="!item.children && item.status ? `status ${item.status}` : ''">
      ${!item.children && item.status ? item.status : ''}
    <span --if="item.children && !openTree"> > </span>
    <span --else-if="item.children && openTree"> < </span>
  <div class="child" --if="item.children" --class="{ 'child-open': openTree }">
        --for="item.children as (child)"
        :item="child ? child : {}"></tree-recursive>



  • the less is more.
  • Every solutions have a minimalist alternative solution (cleaner, scalable).
  • what you wrote twice, you have to write it once.
  • no useless code has to be compiled.
  • everything is a component, because everything is a part of a composition.

All in one. including:

  • Store
  • Router
  • Controllers for Stubs
  • Tests
    • unit tests
    • Integrations tests
    • e2e
  • HMR


Ogone is formatted by deno fmt


To support, join the discord server or do not hesitate to write issues.


(*) required before publication (**) required before 1.0.0 (…) in conception

  • [x] Imports modules *
  • [ ] Integrated Ogone-Dev-Tools **
  • [ ] Integrated test environment **
    • [ ] case ‘test’ is supported **
    • [ ] Automated stress tests **
  • [ ] Controllers Components (…)
  • [ ] Sounds Components (…)
  • [ ] Write robust tests for Ogone **
    • [x] Dom-parser is solid **
    • [ ] Js-this is solid **
    • [x] Stress mode is supported **
    • [x] Scope-css is solid **
  • [ ] Switch every files to Typescript (almost done, need to switch js-this) *
    • [ ] Write types **
    • [ ] Typescript supported in <proto> **
  • [ ] Write more exceptions for each flags **
  • [ ] Write docs *
  • [ ] Write more examples/ **
  • [ ] Complete HMR **
  • [x] Complete Async Component **
  • [ ] Complete Router Component **
  • [ ] Complete Syntax-HighLighting **
  • [ ] Complete Reaction Observer **


Ogone implements stress mode. which run the tests each saving you make. to run the tests:

sudo deno run --allow-all lib/stress/index.ts --stress tests


  • VS Code
    • Syntax High-lighting: Otone 0.0.2^

Download Details:

Author: SRNV


#deno #javascript #nodejs #node

What is GEEK

Buddha Community

Web-components compiler for Deno

Evolution in Web Design: A Case Study of 25 Years - Prismetric

The term web design simply encompasses a design process related to the front-end design of website that includes writing mark-up. Creative web design has a considerable impact on your perceived business credibility and quality. It taps onto the broader scopes of web development services.

Web designing is identified as a critical factor for the success of websites and eCommerce. The internet has completely changed the way businesses and brands operate. Web design and web development go hand-in-hand and the need for a professional web design and development company, offering a blend of creative designs and user-centric elements at an affordable rate, is growing at a significant rate.

In this blog, we have focused on the different areas of designing a website that covers all the trends, tools, and techniques coming up with time.

Web design
In 2020 itself, the number of smartphone users across the globe stands at 6.95 billion, with experts suggesting a high rise of 17.75 billion by 2024. On the other hand, the percentage of Gen Z web and internet users worldwide is up to 98%. This is not just a huge market but a ginormous one to boost your business and grow your presence online.

Web Design History
At a huge particle physics laboratory, CERN in Switzerland, the son of computer scientist Barner Lee published the first-ever website on August 6, 1991. He is not only the first web designer but also the creator of HTML (HyperText Markup Language). The worldwide web persisted and after two years, the world’s first search engine was born. This was just the beginning.

Evolution of Web Design over the years
With the release of the Internet web browser and Windows 95 in 1995, most trading companies at that time saw innumerable possibilities of instant worldwide information and public sharing of websites to increase their sales. This led to the prospect of eCommerce and worldwide group communications.

The next few years saw a soaring launch of the now-so-famous websites such as Yahoo, Amazon, eBay, Google, and substantially more. In 2004, by the time Facebook was launched, there were more than 50 million websites online.

Then came the era of Google, the ruler of all search engines introducing us to search engine optimization (SEO) and businesses sought their ways to improve their ranks. The world turned more towards mobile web experiences and responsive mobile-friendly web designs became requisite.

Let’s take a deep look at the evolution of illustrious brands to have a profound understanding of web design.

Here is a retrospection of a few widely acclaimed brands over the years.

From a simple idea of renting DVDs online to a multi-billion-dollar business, saying that Netflix has come a long way is an understatement. A company that has sent shockwaves across Hollywood in the form of content delivery. Abundantly, Netflix (NFLX) is responsible for the rise in streaming services across 190 countries and meaningful changes in the entertainment industry.


The idea of Netflix was born when Reed Hastings and Marc Randolph decided to rent DVDs by mail. With 925 titles and a pay-per-rental model, debuts the first DVD rental and sales site with all novel features. It offered unlimited rentals without due dates or monthly rental limitations with a personalized movie recommendation system.

Netflix 1997-2000


Announcing its initial public offering (IPO) under the NASDAQ ticker NFLX, Netflix reached over 1 million subscribers in the United States by introducing a profile feature in their influential website design along with a free trial allowing members to create lists and rate their favorite movies. The user experience was quite engaging with the categorization of content, recommendations based on history, search engine, and a queue of movies to watch.

Netflix 2001-2005 -2003


They then unleashed streaming and partnering with electronic brands such as blu-ray, Xbox, and set-top boxes so that users can watch series and films straight away. Later in 2010, they also launched their sophisticated website on mobile devices with its iconic red and black themed background.

Netflix 2006-2010 -2007


In 2013, an eye-tracking test revealed that the users didn’t focus on the details of the movie or show in the existing interface and were perplexed with the flow of information. Hence, the professional web designers simply shifted the text from the right side to the top of the screen. With Daredevil, an audio description feature was also launched for the visually impaired ones.

Netflix 2011-2015


These years, Netflix came with a plethora of new features for their modern website design such as AutoPay, snippets of trailers, recommendations categorized by genre, percentage based on user experience, upcoming shows, top 10 lists, etc. These web application features yielded better results in visual hierarchy and flow of information across the website.

Netflix 2016-2020


With a sleek logo in their iconic red N, timeless black background with a ‘Watch anywhere, Cancel anytime’ the color, the combination, the statement, and the leading ott platform for top video streaming service Netflix has overgrown into a revolutionary lifestyle of Netflix and Chill.

Netflix 2021

Contunue to read: Evolution in Web Design: A Case Study of 25 Years

#web #web-design #web-design-development #web-design-case-study #web-design-history #web-development

Justyn  Ortiz

Justyn Ortiz


Web Component Solutions: A Comparison

“Don’t repeat yourself.” Every programmer has this concept drilled into their head when first learning to code. Any time you have code you find yourself duplicating in several places, it’s time to abstract that code away into a class or a function. But how does this apply to user interfaces? How do you avoid re-writing the same HTML and CSS over and over again?

If you’re using a UI framework like Angular or a UI library like React, the answer is simple: you build a component. Components are bits of HTML, CSS, and JavaScript put together in a way that they can be easily reused.

But what if you’re not using Angular, React, Vue, or whatever else is the latest and greatest new JavaScript framework? What if you’re writing plain vanilla HTML, CSS, and JavaScript? Or what if you want to write a component that is framework-agnostic and can be used in any web app regardless of what it’s written in?

#javascript #development #web developement #html #salesforce #web components #lightning web components framework #stencil #ui frameworks

Kabanda  Nat

Kabanda Nat


[Part 2]: Using Lightning Web Components to Create Progressive Web Apps

When a server sends a push notification to a subscribed user, it needs to authenticate itself as the same server to which the user subscribed. To do this, there is an entire spec (called the VAPID spec) that dictates how this authentication works. Fortunately for us, the web-push package helps to abstract away most of these low-level details.

The one thing we do need to do, however, is generate a VAPID public/private key pair, and store it in a .env file so we can access those keys as environment variables.

#web dev #progressive #web apps #lightning web #components

prashant patil


whatsapp web-w app web-webs whatsapp »

Through whatsapp web you can easily run whatsapp on your android pc on your android mobile. Just like whatsapp mobile is for android device, whatsapp web is for windows device. Whatsapp web is quite popular which has quite cool features.

whatsapp web

how to use whatsapp web desktop
Whatsapp web is very easy to use. Simply you have to search in your google chrome and click on first result which is the official website of whatsapp web.

As soon as you click, an interface will open in front of you, on which you will see a barcode. Follow the steps given below to use whatsapp web on your desktop

open your whatsapp on your mobile
You will see 3dots on the right side top inside whatsapp, you have to click
The 3rd option is whatsapp web, you have to click it
Now you have to capture the barcode you see on your desktop through your phone.
Now you can use whatsapp of your android mobile in your desktop
webs whatsapp

note: You can see whatsapp of anyone’s mobile by pointing to the barcode of your desktop. You can also call it whatsapp hack.

Remember that after using whatsapp web, logout it from your desktop. To logout follow the steps given below.

w app web

open your whatsapp on your mobile
You will see 3dots on the right side top inside whatsapp, you have to click
The 3rd option is whatsapp web, you have to click it
You will see the symbol for logout, you have to logout by clicking it.

read more

#whatsapp #whatappweb # #wsp web #web.whatsapp web #web whatsapp

Ananya Gupta

Ananya Gupta


Key Points For Joining The Best Web Designing For Better Career Option

The scope of the web designer is increasing day by day, because of high demanding job forms an important part of our society. Web Designing is that the creation and planning of internet sites. it’s a process of developing different sites.

To be an honest web designer you ought to have an entire knowledge of CSS and HTML. These are the important prerequisite for designing an internet site. In today’s world of competition to be amongst at the highest one needs media. Websites are playing a key role in today’s life. Whether in online web desiging course mention shopping or engineering everything is formed online.

These are some of the main benefits which a standard person has made with the utilization of internet sites. many roles are available for web designers than before. Many big companies demand experienced and quality web designers.

Web designing is the creative and innovative part of web development during which the designer is especially concerned with how our website looks. CSS is the heart of the web designing part.

The scope of web designing is increasing day by day. In today’s web and internet world, people want a creative website once they want to access it. Top company web development of India hands over 8-10 lac per annum for an experienced web designer. So it’s a really good field for creating websites.

Web designers have the work of designing whole websites which forms the primary step of web development. After web designing remaining work will start. In today’s growing scenario there are many job opportunities for fresher and experienced candidates.

Web designing is a crucial course that features a lot of scope within the present and also in the future scenario. There are two ways to travel through this course. If you’re curious about taking over a full-time web designer course then we will make a career in media or as advertising agents.

If one is curious about Engineering or in Commerce course but getting to develop the skill in web designing, then you’ll prefer the part-time short course in web designing.

When it comes to selecting a training institute, you will find them in every corner. CETPA Infotech is a reputed training institution and provides training that is industry oriented, updated, innovative and summer training has become a pioneer during this online designing field.

#web designing training in noida #web designing training in delhi #web designing online training #web designing online course #web designing course #web designing training