Skip to content

Trying my hand at creating a simple framework for building dynamic websites w/out the complexity of a large framework like react, vue, angular, etc.

License

Notifications You must be signed in to change notification settings

nbannist/web-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-framework

Trying my hand at creating a simple framework for building dynamic websites w/out the complexity of a large framework like react, vue, angular, etc.

Important

This should be simple, more like an HTMX-style framework not a React, Angular, or Vue framework. Also, not a jQuery-style library.

Tasks

Todos

  • Look up proper citation formats for references
  • Read up on creating JavaScript modules, or modern ways of organizing JS code--it has been a while
  • Look into testing frameworks for JavaScript
  • [-]

Completed

  • Initial research on modern JavaScript modules
  • Make a first pass at executing an "init" function once that page is loaded--does nothing.

Name

Currently, calling it jeuje because the word kind of encapsulates the purpose of the framework--it is used to "jeuje" up web pages--and I also just like the word.

The YouTube video on bone broth (linked at the end of the document) shows how I've always heard it pronounced--if you need that. There's also a little New York Times blurb, also in the References, on spellings and origin of the word I found interesting. I kinda purposefully used the less common spelling (according to the article) because that's kinda how I imagined it was spelled, and, +1, it had "j"s in it. :)

Installation/Usage

Looking at any of the examples, you can see that all it really takes is to download the jeuje.js file, reference it in your js code (<script type="module" src="js/main-or-whatever.js"></script>), and use it in your module.

No need to build it or anything. I don't think anything like that will be needed, but we'll see.

Tip

You may come across a CORS error if just loading your HTML file locally outside a server. Because of security precautions in browsers these days, you'll probably want to fire up your favorite (or whatever is easist) webserver. Initially, I just used the npm http-server since I already had it installed. http-server -o --cors was the command I used.

References

About

Trying my hand at creating a simple framework for building dynamic websites w/out the complexity of a large framework like react, vue, angular, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published