Visar inlägg med etikett github. Visa alla inlägg
Visar inlägg med etikett github. Visa alla inlägg

2018-10-27

UIBootstrap Examples as AngularJS Components

UIBootstrap Examples as AngularJS Components

I was interested in learning UIBootstrap since it's tricky to use Foundation with AngularJS.

Included Examples

Not all examples are included (but it shouldn't be any problem adding them):

  1. Accordion
  2. Alert
  3. Buttons
  4. Carousel
  5. Collapse
  6. Datepicker
  7. Dropdown
  8. Modal
  9. Tabs

GITHub

Re-wrote some UIBootstrap examples to AngularJS components. You can find them here

2018-09-20

Updated Scala Stack With Angular

News

Updated Scala Stack with Angular and made it cleaner. It uses a servlet with a Scala JS compiler to compile ScalaJS code on the fly!

About

Scala Stack is using Google App Engine, Maven and AngularJS, but only with Scala code! Both backend and frontend is written in Scala. HTML and CSS is generated from Scala code.
Note that no pre-processors or SBT are used. Backend compiles at publish and Javascripts at startup.
You can read more at my earlier blog post:

Repository

Check it out:

2016-06-01

Flexible Environment with Scala

Flexible Environment with Scala

Started a new Maven project with Google's Flexible Environment including Java 8, Scala and Web Servlets 3.1.

Source code

You can find it here:
https://github.com/AIMMOTH/scala-js-compiler/tree/java8-scala-flexible-environment-web-servlet-3.1

2015-09-12

App Engine + Scala + Java + SBT + Eclipse

Combining Java App Engine with Scala and SBT, and Import to Eclipse

Forked and added Eclipse plugin, to in a easy way run a App Engine project in Eclipse and with Scala.

2015-09-02

Scala JS Target Folder

Scala JS: Set Target Folder for JavaScript Build

Recently I've been interested in  Scala JS. It would be great to share logic on client and server side and to write all code in Scala. But SBT can be a bit tricky and my project setup was divided into two:

  1. One webapp with a Java web container
  2. Scala JS with logic shared between frontend and backend
To get SBT to build the JavaScript from my Scala JS project to my webapp I needed to add the following lines in my root build.sbt file:

val jsDir = "../gae/src/main/webapp"
crossTarget in (Compile, fastOptJS) := file(jsDir)

Project combining Scala JS and Java web container

You can check out my project which uses this build at


2015-06-20

Google App Engine + Scala with Jersey + ScalaJs

Have been interested in ScalaJs for a while and wanted to use it and Scala with Jersey in Google App Engine. This is a first try to combine them.

GitHub Repository