Closed vincentwoo closed 11 years ago
That's a good idea; create a compressed.js
(or doppio.js
) that contains the core Doppio logic, and then have the frontend be a client to Doppio.
We've been meaning to make this change at some point, but never had any impetus to.
As for the filesystem, I plan to have its configuration specified by the Doppio client rather than embedded deep within the filesystem logic once I address #140. It'll be a cleaner filesystem, with simple Unix-style mounting rather than the weird composite setup we have now.
Cool, I look forward to it. Thanks for a very promising project.
As of #219, we now have a make library
target, which bundles core Doppio.
Also, the replacement for Doppio's pseudo-filesystem is nearing completion: https://github.com/jvilk/BrowserFS
My hunger grows.
On Thu, May 23, 2013 at 10:56 PM, CJ Carey notifications@github.com wrote:
As of #219 https://github.com/int3/doppio/issues/219, we now have a make library target, which bundles core Doppio.
Also, the replacement for Doppio's pseudo-filesystem is nearing completion: https://github.com/jvilk/BrowserFS
— Reply to this email directly or view it on GitHubhttps://github.com/int3/doppio/issues/206#issuecomment-18387842 .
I just created a new repo for the demo: doppio-demo. It's currently non-functional, but it's a start. On the Doppio side of things, we need a way to build a standalone doppio.js
file. The current make library
target still bundles in a lot of the frontend.
doppio-demo is now working! It's essentially a clone of the current Doppio browser frontend at the moment, but it should be a useful starting point for people who want to use Doppio as a library.
I'm trying to build a simple app on top of Doppio that allows a user to execute and run exactly one .java file of their choosing, in the browser. Right now, some of the stuff compiled directly into
compressed.js
for the browser contains very tight integration with the doppio demo page DOM, like#editor
and so forth.Could we have a more pared-down browser make target? One that doesn't necessarily require as much understanding of the doppio internal file system by the integrator, and perhaps doesn't come bundled with the demo classes as well?