Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.4% on proxy.golang.org
Top 1.3% dependent packages on proxy.golang.org
Top 1.0% dependent repos on proxy.golang.org
Top 2.1% forks on proxy.golang.org

proxy.golang.org : github.com/vugu/vugu

Package vugu provides core functionality including vugu->go codegen and in-browser DOM syncing running in WebAssembly. See http://www.vugu.org/ Since Vugu projects can have both client-side (running in WebAssembly) as well as server-side functionality many of the items in this package are available in both environments. Some however are either only available or only generally useful in one environment. Common functionality includes the ComponentType interface, and ComponentInst struct corresponding to an instantiated componnet. VGNode and related structs are used to represent a virtual Document Object Model. It is based on golang.org/x/net/html but with additional fields needed for Vugu. Data hashing is performed by ComputeHash() and can be customized by implementing the DataHasher interface. Client-side code uses JSEnv to maintain a render loop and regenerate virtual DOM and efficiently synchronize it with the browser as needed. DOMEvent is a wrapper around events from the browser and EventEnv is used to synchronize data access when writing event handler code that spawns goroutines. Where appropriate, server-side stubs are available so components can be compiled for both client (WebAssembly) and server (server-side rendering and testing). Server-side code can use ParserGo and ParserGoPkg to parse .vugu files and code generate a corresponding .go file. StaticHTMLEnv can be used to generate static HTML, similar to the output of JSEnv but can be run on the server. Supported features are approximately the same minus event handling, unapplicable to static output.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/vugu/vugu
Keywords: framework, go, gui, library, ui, vugu, web, webassembly
License: MIT
Latest release: over 1 year ago
First release: over 4 years ago
Namespace: github.com/vugu
Dependent packages: 15
Dependent repositories: 28
Stars: 4,577 on GitHub
Forks: 171 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 hours ago

    Loading...
    Readme
    Loading...