Comments (5)
Please dont! This is great as is! I just came over from Collection+JSON because i was so frustrated that i was not able to use anything without learning node.js, CoffeeScript and browserify.
This is just plain old download-unzip-go, it works, no magic involved, KISS!
Maybe you can provide both, bower for the cool nerds and zip-download for old fashioned guys like me?
(i just came here so see how to tell you that this worked out of the box, couldn't find where to leave comments, and then found this issue ...)
from hal-browser.
I think this is a fair comment. I will make sure if/when we do this that we
take a middle ground that can satisfy both approaches
On Mon, Dec 23, 2013 at 12:32 PM, gagabla [email protected] wrote:
Please dont! This is great as is! I just came over from Collection+JSON
because i was so frustrated that i was not able to use anything without
learning node.js, CoffeeScript and browserify.
This is just plain old download-unzip-go, it works, no magic involved,
KISS http://en.wikipedia.org/wiki/KISS_principle!Maybe you can provide both, bower for the cool nerds and zip-download for
old fashioned guys like me?(i just came here so see how to tell you that this worked out of the box,
couldn't find where to leave comments, and then found this issue ...)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-31116784
.
Mike
http://twitter.com/mikekelly85
http://github.com/mikekelly
http://linkedin.com/in/mikekelly123
from hal-browser.
+1
I look at hal-browser as a learning tool for understanding HAL and hypermedia. It's more important to me that it be easy to understand and modify without depending on a bunch of other dependencies or magic than being super efficient or "production ready"
If someone is just learning to tie their shoes with HAL + hypermedia, having to learn a bunch of other things, especially if they are not always trivial to set up on various development platforms this can be an obstacle
from hal-browser.
To ease the embedding of these into multiple module war files I did create a simple maven assembly for it. Below is the code I used if you want to release this out to the maven central at some future point.
pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
assembly.xml
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd ">
<includeBaseDirectory>false </includeBaseDirectory>
<id>hal-browser</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<includes>
<include>README*</include>
<include>MIT-LICENSE*</include>
<include>browser.html</include>
<include>styles.css</include>
</includes>
</fileSet>
<fileSet>
<directory>js</directory>
</fileSet>
<fileSet>
<directory>vendor</directory>
</fileSet>
</fileSets>
</assembly>
from hal-browser.
For Java folks, you can access this project as a webjar at https://github.com/webjars/hal-browser. That gives you gradle and maven support among other things.
P.S. It's super simple with Spring Boot apps.
But for other projects, adding either a package.json or bower.json would be handy option assuming it doesn't preclude the others.
from hal-browser.
Related Issues (20)
- Accessing restricted rest resources using hal-browser HOT 5
- embedded resources not rendered if no curies are specified HOT 1
- Error when accessing example heroku app. HOT 3
- Add support for multiple levels of embedded Resource Objects HOT 2
- Make Beautiful HOT 1
- Third consecutive non-get request doesn't work
- Hal Browser demo doesn't work HOT 12
- CORS issue in recent versions HOT 1
- links with absolute URLs cause exceptions HOT 6
- Links in Properties view are not clickable HOT 5
- Support for nested "_embedded" items HOT 1
- 500 Internal Server Error on http://haltalk.herokuapp.com HOT 5
- Support links as list
- Add ability to change users HOT 2
- How to include it in a react app HOT 2
- Getting HEAD url 405 () error when clicking on NON-GET HOT 1
- Custom Request Headers not sent for NON-GET requests HOT 3
- Why is .gitignore excluding html files HOT 2
- Cross Site Scripting issue with NON-GET dialog HOT 1
- Hal browser uses jQuery version that contains a CVE HOT 2
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 hal-browser.