Giter Site home page Giter Site logo

basta-endtoend's Introduction

GitHub Repo: https://github.com/thinktecture/basta-endtoend

Server aufsetzen
================
Visual Studio -> "ASP.NET"-Projekt
-> im zweiten Dialog "Empty"

NuGet
-microsoft.aspnet.webpages
-microsoft.aspnet.web.optimization
  
global.asax anlegen für Registrierung des Bundlings
index.cshtml hinzufügen
Im IIS neue Web Site anlegen & mappen auf endtoend.local
In hosts eintragen: c:\windows\system32\drivers\etc\hosts
        
Berechtigungen im Dateisystem für den "Network Service"-Benutzer (bzw. AppPool-Benutzer)
Berechtigungen im Dateisystem für den "IUSR"-Benutzer


Client aufsetzen
================
Twitter Bootstrap (BS) als Basis-Design
-http://getbootstrap.com

Vorgefertigte BS Themes:
-http://themeforest.net; kostenpflichtig; Lizenzen

Für diese App hier:
-http://getbootstrap.com/examples/dashboard/
 -freies Samples, responsive

Download BS:
-http://getbootstrap.com/getting-started#download

Client-relevante Ordner im VS-Projekt anlegen
 -app
 -libs
 -font

Bundling
 -erst libs Folder, dnn app Folder

Nummerierung der CSS und JS Ordner, a la '10', '20', ...
 -für Reihenfolge der Scripts, Assets

Vertraut machen mit der BS Design Sprache
 -http://getbootstrap.com/css/

Auseinandernehmen der index.html
 -Extrahieren der funktionalen Unterbereiche

Einbinden von AngularJS
 -http://angularjs.org/

JavaScript IFFE
 -http://benalman.com/news/2010/11/immediately-invoked-function-expression/

Inkludieren der extrahierten HTML-Fragmente mit ng-include

Main-Bereich über ng-view einbinden

Alternative für komplexe UI States: ui-router (nicht im AngularJS-Paket)
 -https://github.com/angular-ui/ui-router

AngularJS API Doku
 -http://docs.angularjs.org/api


Server weiter aufsetzen
=======================

ASP.NET Web API & OWIN
 -Microsoft.AspNet.WebApi
 -Microsoft.AspNet.WebApi.Owin
 -Microsoft.Owin.Security.OAuth
 -Microsoft.Owin.Host.SystemWeb
 -EntityFramework
 -EntityFramework.SqlServerCompact

Startup.cs
 -CamelCasePropertyNamesContractFormatter --> camelCase statt PascalCase auf der JavaScript-Seite


PhoneGap/Cordova App bauen
==========================
http://endtoend.local im Browser aufrufen (oder mit curl.exe) und als index.html abspeichern
 -sicherstellen, dass alle src-Links entweder auf "app/..." oder "libs/..." lauten

cordova create BASTAEndToEnd com.tt.basta BASTAEndToEnd
cd BASTAEndToEnd/

Order 'app', 'libs' aus der Web App und generiertes index.html in 'www' Ordner kopieren

cordova platform add ios
cordova platform add android


node-webkit Anwendung bauen
===========================
siehe https://github.com/rogerwang/node-webkit

basta-endtoend's People

Contributors

ingorammer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

yovannyr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.