squid-js

1.0.10 • Public • Published

Squid User Interface Development

Squid logo

Squid.js

Squid User Interface Development is a component framework built by half human, half undersea monkey programmers. The key features guiding the development of Squid are interoperabilty and simplicity. We built Squid.js to create applications with reusable components and controllers, that are neatly tucked into their own namespaces.

Why Squid.js

Squid.js was built for creating complex web applications by breaking down applications into independent and interoperable components. As much as possible we try to keep HTML, Javascript and CSS clean. If you don't like seeing HTML inside your Javascript, or CSS inside your HTML, or Javascript inside your HTML, or (you get the point), this is the framework for you. If you do like doing that, we wont stop you, this could still be the framework for you.

Getting Started

To get started just add a reference to the Squid.js file in the header of your document. Please read the Squid Documentation for a complete guide on creating your first application.

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="UTF-8" />
        <script id="squid" src="scripts/squid.js?"></script>
    </head>
    <body>
        //html content
    </body>
</html>

Application Structure

ProjectName/
├── Namespace/
│   ├── components/
│   |   ├── empty/
│   ├── controllers/
│   |   ├── empty/
│   ├── images/
│   |   ├── empty/
│   └── loader.js
│   └── index.html
│   └── style.css
└── otherNamespace/

Use the Visual Studio Code Extension

We've built an extension for Visual Studio that will help you create your Squid.js applications.

Visual Studio Code Extension

Built With

  • Javascript

Abstract

In the previous versions of Squid we encountered some difficulties with namespace cluttering, dirty syntax, and poorly constructed data binding. We looked to different frameworks for solutions but most of what is available did not suit the style with which we coded. We wanted to keep our HTML, Javascript and CSS as clean as possible. We didnt like cross contamination of the three. So we decided to do one last recode of the whole framework. The goal was to solve all our problems with the past versions, make it public, and continuosly update with the latest tech.

Package Sidebar

Install

npm i squid-js

Weekly Downloads

4

Version

1.0.10

License

ISC

Unpacked Size

1.48 MB

Total Files

145

Last publish

Collaborators

  • juisteroid