Comments (4)
I do believe Ruby will be a useful tool in the browser, but it needs to be proven. The best thing to do now would be to make something that shows the benefits of Ruby as an alternative to JavaScript.
from decaf.
I am a Ruby developer, so I could potentially do something like that. I will clone your repository here and look at getting your creation running on Ubuntu linux. Maybe something along the lines of 'RQuery', or maybe Objects which let you do things like "canvas = HTML::Canvas.new({:some_att => 'some_val'})" would be nice.
Ruby's class system brings a lot of potential. Inheritance of other DOM objects and even the document itself allows for whole worlds and systems to be created. It might even be possible to create Ruby objects with built in handling for styles. For example an HTML::Table::Row object with property 'background_color'. You could change the color value for red doing something like "my_tar.background_color.increase_red". Loop through that for a background that pulsates color changes. Just one idea.
I have a feeling that Ruby's fun nature will be naturally appealing to web developers for browser use, once they see some creative ideas put to code.
from decaf.
You're right, Ruby can be fun! Let me know what you come up with.
from decaf.
I'm going to close this for now to keep the issues section clean.
from decaf.
Related Issues (18)
- Cross-site monkey-patching security
- Crashes instantly under 10.7.5 HOT 8
- This project seems misguided HOT 2
- ObjectSpace.each_object HOT 1
- DOMClass#dup and related methods crash the app. HOT 5
- Run only one website like Fluid? HOT 2
- Support Linux and Windows HOT 28
- google.com search result HOT 3
- Multiplying 2 large integers in the console results in a crash. HOT 1
- Add a shortcut to open the console in the MiniBrowser. HOT 1
- If JavaScript also has to be used besides Ruby, Is it possible with Decaf? HOT 3
- Debugger doesn't always stop on breakpoints
- Include useful standard libraries (JSON, Set, Observable, etc.) HOT 12
- Future and beyond HOT 3
- Unicode (Chinese) characters went wrong in method `element.text()`
- Ajax?
- How does this compare to OpalRb?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decaf.