This document provides astrological information about Deepak Sawant, including his birth details, planet placements, and interpretations of how different astrological factors influence his personality, environment, life purpose, conditioning, and more. It analyzes the interactions between his ascendant, midheaven, nodes, and other placements to understand how they shape his character and path in life.
Este poema rinde homenaje a las madres de la comunidad de Kolokoso. Describe cómo las madres traen luz, ternura y ánimo para comenzar cada día nuevo, y cómo luchan trabajando incansablemente desde el amanecer hasta el ocaso a pesar de las dificultades. Aunque sufren dolor, mantienen su fe que se expresa a través de la danza y el canto dirigido a Dios, agradeciéndole por la vida.
The document provides configuration instructions for a Dialogic media gateway to integrate with the BlackBerry Mobile Voice System (MVS). It includes settings for IP, management protocols, routing tables, TDM, VoIP, DSP, and other postconfiguration tasks. Key settings include specifying the IP address of the BlackBerry MVS server, enabling HTTP/Telnet servers, configuring inbound and outbound routing rules to route calls between the TDM and VoIP networks, and configuring codecs, timers and other parameters.
Creatividad e Innovación: Cómo romper ParadigmasHCGlobal Group
Este documento describe las herramientas de innovación, emprendimiento y tecnología para el futuro crecimiento. Explica que la innovación implica rentabilizar ideas basadas en las necesidades del mercado a través de la creatividad y rompiendo paradigmas. También destaca que la creatividad genera ideas pero la innovación requiere pensamiento lógico para seleccionar las mejores soluciones y crear nuevos mercados.
Developing and Visualizing Live Model QueriesZoltán Ujhelyi
1st Analysis of Model Transformations Workshop, 2012
Several important tasks performed by model driven development tools — such as well-formedness constraint validation or model transformations — rely on evaluating model queries. If the model changes rapidly or frequently, it is beneficial to provide live queries that automatically propagate these model changes into the query results. To ease the development and debugging of live queries, the development environment should provide a way to evaluate the query results continuously, helping to understand how the created query works.
This presentation presents a generic live model query visualizer that displays and updates the query results depending on their source models. It has been implemented for the EMF-IncQuery framework and presented here for validating BPMN models.
Este documento describe un plan para encontrar 4 líderes universitarios mexicanos para un evento llamado ExpoManagement Universitario enfocado en temas como liderazgo, innovación, marketing y estrategia. El plan incluye una campaña en redes sociales para promover la convocatoria, un proceso de filtración de participantes que incluye votación y jurado de expertos, y métricas para medir el éxito como número de seguidores, visitantes y participantes.
This document provides astrological information about Deepak Sawant, including his birth details, planet placements, and interpretations of how different astrological factors influence his personality, environment, life purpose, conditioning, and more. It analyzes the interactions between his ascendant, midheaven, nodes, and other placements to understand how they shape his character and path in life.
Este poema rinde homenaje a las madres de la comunidad de Kolokoso. Describe cómo las madres traen luz, ternura y ánimo para comenzar cada día nuevo, y cómo luchan trabajando incansablemente desde el amanecer hasta el ocaso a pesar de las dificultades. Aunque sufren dolor, mantienen su fe que se expresa a través de la danza y el canto dirigido a Dios, agradeciéndole por la vida.
The document provides configuration instructions for a Dialogic media gateway to integrate with the BlackBerry Mobile Voice System (MVS). It includes settings for IP, management protocols, routing tables, TDM, VoIP, DSP, and other postconfiguration tasks. Key settings include specifying the IP address of the BlackBerry MVS server, enabling HTTP/Telnet servers, configuring inbound and outbound routing rules to route calls between the TDM and VoIP networks, and configuring codecs, timers and other parameters.
Creatividad e Innovación: Cómo romper ParadigmasHCGlobal Group
Este documento describe las herramientas de innovación, emprendimiento y tecnología para el futuro crecimiento. Explica que la innovación implica rentabilizar ideas basadas en las necesidades del mercado a través de la creatividad y rompiendo paradigmas. También destaca que la creatividad genera ideas pero la innovación requiere pensamiento lógico para seleccionar las mejores soluciones y crear nuevos mercados.
Developing and Visualizing Live Model QueriesZoltán Ujhelyi
1st Analysis of Model Transformations Workshop, 2012
Several important tasks performed by model driven development tools — such as well-formedness constraint validation or model transformations — rely on evaluating model queries. If the model changes rapidly or frequently, it is beneficial to provide live queries that automatically propagate these model changes into the query results. To ease the development and debugging of live queries, the development environment should provide a way to evaluate the query results continuously, helping to understand how the created query works.
This presentation presents a generic live model query visualizer that displays and updates the query results depending on their source models. It has been implemented for the EMF-IncQuery framework and presented here for validating BPMN models.
Este documento describe un plan para encontrar 4 líderes universitarios mexicanos para un evento llamado ExpoManagement Universitario enfocado en temas como liderazgo, innovación, marketing y estrategia. El plan incluye una campaña en redes sociales para promover la convocatoria, un proceso de filtración de participantes que incluye votación y jurado de expertos, y métricas para medir el éxito como número de seguidores, visitantes y participantes.
Este documento proporciona información sobre cómo ganar dinero haciendo encuestas en línea y recomienda varias páginas web adecuadas para completar encuestas y recibir pagos. Explica que es posible ganar dinero realizando encuestas, pero requiere ser muy activo. Recomienda GlobalTestMarket como la mejor opción, donde el autor ha recibido alrededor de 70 euros en dos pagos. También recomienda MySurvey y PanelOpina, pero advierte que esta última ya no es tan buena opción.
El documento presenta un resumen del año 2016 y perspectivas para 2017 del Comité de Dirección del itdUPM. En 2016, el itdUPM atrajo a más de 350 estudiantes y 130 sesiones de intercambio con más de 120 profesores y 100 profesionales. El espacio promueve la investigación interdisciplinaria en sostenibilidad y sirve como infraestructura experimental. Para 2017, se propone una alianza multiactor para desarrollar un "corredor sostenible" que combine investigación, encuentro y formación en tecnologías de ciudades
Los Movie Clips son símbolos en Flash que contienen su propia línea de tiempo independiente, lo que les permite ejecutarse de forma autónoma incluso cuando la película principal está detenida. Pueden contener otros objetos como gráficos, clips o botones y responder a eventos. Los Movie Clips proporcionan una arquitectura basada en componentes en Flash al permitir la interacción entre instancias y el control de clips secundarios.
Este documento presenta un tarifario modelo para diseñadores gráficos en Rafaela, Argentina. Divide los trabajos en categorías como identidad, papelería, folletería, editorial, publicidad, señalización, ilustración, packaging, merchandising, digital y otros. Asigna valores en pesos argentinos para cada trabajo según el tipo de cliente: A, B o C. Explica que los precios mayores para clientes A se deben a la mayor responsabilidad que conllevan esos trabajos. El tarifario es una guía para diseñadores locales y r
Este proyecto propone que los estudiantes de italiano realicen una investigación sobre la comunidad italiana en Madrid a través de entrevistas. Los estudiantes trabajarán en grupos para contactar a italianos, preparar preguntas, grabar entrevistas y editarlas en formato podcast. Los podcasts se publicarán en un blog. El objetivo es que los estudiantes practiquen italiano y aprendan sobre la cultura italiana en Madrid.
HL7 DFDL with WebSphere Message BrokerAnt Phillips
This document discusses the IBM Healthcare Connectivity Pack which includes HL7 data modeling capabilities and transformation options for healthcare integration. It provides DFDL models for HL7 v2.5, v2.6 and v2.7 which can generate JAXB classes and be used for testing and validation. The document also mentions that IBM Integration Bus supports various transformation techniques including mapping, XSLT, ESQL, Java and .NET, and that the debugger allows stepping between message flows and Java code.
PRESENTACIÓN -ANÁLISIS DE LA IMPLANTACIÓN DE PROCESOS DE DIRECCIÓN ESTRATÉGIC...Encarna Aguilera
La cooperativa de educación, en su mayoría de trabajo asociado, es estudiada desde las importantes aportaciones que ha hecho al campo de la pedagogía y educativo. Sin embargo no ha sido muy explorada en el área de la gestión empresarial, en concreto si utilizan para ello las herramientas de la dirección estratégica. La escasez de este tipo de estudios es lo que me animó a realizar la presente investigación y dejar la puerta abierta para futuras profundizaciones en la misma.
Este documento presenta un caso clínico de un neonato con diabetes insípida central tratado con desmopresina oral. Los resultados muestran que la desmopresina oral controló eficazmente la diabetes insípida, reduciendo la osmolaridad y sodio en orina y manteniendo los niveles séricos. La desmopresina oral es una alternativa segura y efectiva para el tratamiento de la diabetes insípida central en neonatos.
This document discusses network orchestration and Astara, an open source project for provisioning network functions in virtual environments. It provides background on software defined networking (SDN) and network function virtualization (NFV). It then describes Astara, including its architecture and goal of tying together OpenStack neutron. It follows the "FOUR O" principles of being open source, community, development and design.
Internet2 es una red telemática desarrollada principalmente por universidades estadounidenses para transferir información a alta velocidad usando fibra óptica. Es utilizada por 212 universidades de EE.UU. y 60 compañías tecnológicas. En Latinoamérica, la red CLARA conecta redes académicas y científicas de países como Argentina, Brasil, Chile y Venezuela a Internet2. El documento analiza las tecnologías, infraestructura, protocolos y ventajas/desventajas de Internet2.
Nuevas extensiones de dominio y Trademark ClearinghouseNominalia
¿Cómo y por qué es importante registrar estos nuevos dominios? Nuestros expertos en Protección de Marca Online nos hablaron de la situación actual de las nuevas extensiones de dominio y de Trademark Clearinghouse. Más info: http://www.nominalia.com/domains/new-gtlds.html
Este documento anuncia un curso de Tarot Rider que se llevará a cabo durante 6 meses los sábados en el Centro Integral Zen. El curso enseñará sobre los 78 arcanos del Tarot, sus símbolos e interpretaciones, y cómo usar el Tarot para la meditación, autoconocimiento y ayuda a los demás. La instructora, Mayda Inciarte Valdez, tiene 27 años de experiencia usando el Tarot para sanación, rituales y otras técnicas espirituales.
Simplified Technical English: How Standardizing Content Saves Translation Cos...Scott Abel
Presented by Berry Braster at Documentation and Training Life Sciences, June 23-26, 2008 in Indianapolis.
Products and processes are becoming more complex, while companies worldwide increasingly have to deal with different languages.
Although technical documentation is predominantly written in English, it can often be difficult to understand due to its complexity: complex sentence structures, multiple meanings and synonyms easily result in confusion. In addition, many readers’ command of English can fall below the level of those who created the documentation, which especially applies to non-native English speakers.
For documents that have to be translated into other languages, one cannot expect the translation to be of great quality if the source file was ambiguous to begin with.
As a result, these are often the consequences:
* Confused and frustrated readers
* Safety risk
* Damage during operation or maintenance
* Liability claims
* High localization costs
* Unsatisfactory translations
* Higher training support costs
* Ineffective customer service
* Unanticipated costs as a result of miscommunication
In this context, clear and effective writing has become more important than ever before.
Simplified Technical English (also known as Controlled English) is a method of writing that makes technical English easy to understand. The use of Simplified Technical English stimulates (global) acceptance of technical documentation as it improves readability and prevents misunderstandings and misinterpretations.
Ein Blick in die Kristallkugel mit dem Ziel spannende und relevante Online-Trends für das Jahr 2003 hervorzusagen. Auf der Liste sind:
- JSP 2.0
- XHTML 2
- Platform for Privacy Preferences
- Watermarking
- C#
- Multimedia Home Platform
- Semantic Web
- WLAN
- XSL-FO
- SVG
Este documento proporciona información sobre cómo ganar dinero haciendo encuestas en línea y recomienda varias páginas web adecuadas para completar encuestas y recibir pagos. Explica que es posible ganar dinero realizando encuestas, pero requiere ser muy activo. Recomienda GlobalTestMarket como la mejor opción, donde el autor ha recibido alrededor de 70 euros en dos pagos. También recomienda MySurvey y PanelOpina, pero advierte que esta última ya no es tan buena opción.
El documento presenta un resumen del año 2016 y perspectivas para 2017 del Comité de Dirección del itdUPM. En 2016, el itdUPM atrajo a más de 350 estudiantes y 130 sesiones de intercambio con más de 120 profesores y 100 profesionales. El espacio promueve la investigación interdisciplinaria en sostenibilidad y sirve como infraestructura experimental. Para 2017, se propone una alianza multiactor para desarrollar un "corredor sostenible" que combine investigación, encuentro y formación en tecnologías de ciudades
Los Movie Clips son símbolos en Flash que contienen su propia línea de tiempo independiente, lo que les permite ejecutarse de forma autónoma incluso cuando la película principal está detenida. Pueden contener otros objetos como gráficos, clips o botones y responder a eventos. Los Movie Clips proporcionan una arquitectura basada en componentes en Flash al permitir la interacción entre instancias y el control de clips secundarios.
Este documento presenta un tarifario modelo para diseñadores gráficos en Rafaela, Argentina. Divide los trabajos en categorías como identidad, papelería, folletería, editorial, publicidad, señalización, ilustración, packaging, merchandising, digital y otros. Asigna valores en pesos argentinos para cada trabajo según el tipo de cliente: A, B o C. Explica que los precios mayores para clientes A se deben a la mayor responsabilidad que conllevan esos trabajos. El tarifario es una guía para diseñadores locales y r
Este proyecto propone que los estudiantes de italiano realicen una investigación sobre la comunidad italiana en Madrid a través de entrevistas. Los estudiantes trabajarán en grupos para contactar a italianos, preparar preguntas, grabar entrevistas y editarlas en formato podcast. Los podcasts se publicarán en un blog. El objetivo es que los estudiantes practiquen italiano y aprendan sobre la cultura italiana en Madrid.
HL7 DFDL with WebSphere Message BrokerAnt Phillips
This document discusses the IBM Healthcare Connectivity Pack which includes HL7 data modeling capabilities and transformation options for healthcare integration. It provides DFDL models for HL7 v2.5, v2.6 and v2.7 which can generate JAXB classes and be used for testing and validation. The document also mentions that IBM Integration Bus supports various transformation techniques including mapping, XSLT, ESQL, Java and .NET, and that the debugger allows stepping between message flows and Java code.
PRESENTACIÓN -ANÁLISIS DE LA IMPLANTACIÓN DE PROCESOS DE DIRECCIÓN ESTRATÉGIC...Encarna Aguilera
La cooperativa de educación, en su mayoría de trabajo asociado, es estudiada desde las importantes aportaciones que ha hecho al campo de la pedagogía y educativo. Sin embargo no ha sido muy explorada en el área de la gestión empresarial, en concreto si utilizan para ello las herramientas de la dirección estratégica. La escasez de este tipo de estudios es lo que me animó a realizar la presente investigación y dejar la puerta abierta para futuras profundizaciones en la misma.
Este documento presenta un caso clínico de un neonato con diabetes insípida central tratado con desmopresina oral. Los resultados muestran que la desmopresina oral controló eficazmente la diabetes insípida, reduciendo la osmolaridad y sodio en orina y manteniendo los niveles séricos. La desmopresina oral es una alternativa segura y efectiva para el tratamiento de la diabetes insípida central en neonatos.
This document discusses network orchestration and Astara, an open source project for provisioning network functions in virtual environments. It provides background on software defined networking (SDN) and network function virtualization (NFV). It then describes Astara, including its architecture and goal of tying together OpenStack neutron. It follows the "FOUR O" principles of being open source, community, development and design.
Internet2 es una red telemática desarrollada principalmente por universidades estadounidenses para transferir información a alta velocidad usando fibra óptica. Es utilizada por 212 universidades de EE.UU. y 60 compañías tecnológicas. En Latinoamérica, la red CLARA conecta redes académicas y científicas de países como Argentina, Brasil, Chile y Venezuela a Internet2. El documento analiza las tecnologías, infraestructura, protocolos y ventajas/desventajas de Internet2.
Nuevas extensiones de dominio y Trademark ClearinghouseNominalia
¿Cómo y por qué es importante registrar estos nuevos dominios? Nuestros expertos en Protección de Marca Online nos hablaron de la situación actual de las nuevas extensiones de dominio y de Trademark Clearinghouse. Más info: http://www.nominalia.com/domains/new-gtlds.html
Este documento anuncia un curso de Tarot Rider que se llevará a cabo durante 6 meses los sábados en el Centro Integral Zen. El curso enseñará sobre los 78 arcanos del Tarot, sus símbolos e interpretaciones, y cómo usar el Tarot para la meditación, autoconocimiento y ayuda a los demás. La instructora, Mayda Inciarte Valdez, tiene 27 años de experiencia usando el Tarot para sanación, rituales y otras técnicas espirituales.
Simplified Technical English: How Standardizing Content Saves Translation Cos...Scott Abel
Presented by Berry Braster at Documentation and Training Life Sciences, June 23-26, 2008 in Indianapolis.
Products and processes are becoming more complex, while companies worldwide increasingly have to deal with different languages.
Although technical documentation is predominantly written in English, it can often be difficult to understand due to its complexity: complex sentence structures, multiple meanings and synonyms easily result in confusion. In addition, many readers’ command of English can fall below the level of those who created the documentation, which especially applies to non-native English speakers.
For documents that have to be translated into other languages, one cannot expect the translation to be of great quality if the source file was ambiguous to begin with.
As a result, these are often the consequences:
* Confused and frustrated readers
* Safety risk
* Damage during operation or maintenance
* Liability claims
* High localization costs
* Unsatisfactory translations
* Higher training support costs
* Ineffective customer service
* Unanticipated costs as a result of miscommunication
In this context, clear and effective writing has become more important than ever before.
Simplified Technical English (also known as Controlled English) is a method of writing that makes technical English easy to understand. The use of Simplified Technical English stimulates (global) acceptance of technical documentation as it improves readability and prevents misunderstandings and misinterpretations.
Ein Blick in die Kristallkugel mit dem Ziel spannende und relevante Online-Trends für das Jahr 2003 hervorzusagen. Auf der Liste sind:
- JSP 2.0
- XHTML 2
- Platform for Privacy Preferences
- Watermarking
- C#
- Multimedia Home Platform
- Semantic Web
- WLAN
- XSL-FO
- SVG
Provisionierung von Dockerhosts und -Containern mit Terraform, Ansible und LXD auf Blech und Cloud
Lästige und aufwändige manuelle Serverinstallation kann auf einfache Art durch automatisierte Provisionierung und Konfiguration der Infrastruktur ersetzt werden. Dieser Vortrag zeigt einen Ansatz, bei dem die Definition der Infrastruktur in voll maschinenlesbarer und ausführbarer Form in einem git repo anstatt in den Köpfen der (oder des) Engineers vorhanden sind.
Es wird gezeigt, wie das Verfahren sowohl auf Blech (d.h. auf lokalen physischen Maschinen) als auch in der Cloud angewendet werden kann, und somit eine grosse Übereinstimmung zwischen Test-/Integrations- und Produktionsinfrastruktur erreicht wird.
Die vorgestellten Werkzeuge sind terraform und ansible für Provisionierung und Konfigurationsmanagement, sowie lxd (nur lokal) und docker für System- und Applikationscontainer. Die vollständige Codebasis ist auf github verfügbar, so dass alle TeilnehmerInnen auch sofort mit eigenen Experimenten loslegen können.
RPM kommen nur von der Distribution ? Eigentlich ist es ganz einfach, ein RPM Paket zu erstellen. Im Ergebnis unterstützen RPM Pakete die Systemautomatisierung und Standardisierung.
Sinn und Nutzen von Paketierung
RPM Paketen unter die Haube geschaut - technische Details
Best Practice - Erstellung eigener Pakete
Dependency Hell - Wie RPM kaputt geht
openSUSE Build Service - bauen lassen
Paketierung für Maintainer (Unterpakete, Cross-Plattform, Doku ...)
Wer sich mit XPages-Entwicklung beschäftigt, wird über Kurz oder Lang auch auf OpenNTF und die eXtension Library stoßen.
Was ist die eXtension Library und wie kann ich die Erweiterungen in meiner Entwicklungsumgebung nutzen?
Wie können mir die zahlreichen Custom Controls auf OpenNTF helfen, den Entwicklungsaufwand zu reduzieren?
Seit Juli 2011 gibt es die Möglichkeit, aus XPages heraus auf relationale Datenbanken zuzugreifen. Was wird dazu benötigt und wie sieht der Zugriff in der Praxis aus?
Zielgruppe: Teilnehmer mit Grundlagenkenntnissen in der XPages-Entwicklung
Kenntnisse: Grundlagenkenntnisse in der XPages-Entwicklung
The Lotus Code Cookbook - Ulrich Krause
Tipps, Tipps, Tipps ... Die Session behandelt kein zentrales Thema. In loser Folge werden Tipps und Tricks aus allen Bereichen der Programmierung in Lotus Notes / Domino vorgestellt. @Formula, LotusScript, Java, JavaScript, LS2CApi.
Zielgruppe sind Alle, die sich mit Applikationsentwicklung beschäftigen. Anfänger und "alte Hasen"; es ist für jeden etwas dabei.
Vorlesung Semantic Web Technologien, HTWG Konstanz WS 2009/2010.
Veranstaltung #6
Nach den theoretischen Grundlagen vom letzten Mal, wenden wir uns nun wieder den eher praktischen Gefielden zu. In der aktuellen Vorlesung beschäftigen wir uns mit RDF(S)-Frameworks aus der Java Welt.
Zunächst wird mit Sesame eines der bekanntesten Frameworks vorgestellt. Durch sein Storage and Inference Layer (SAIL) kann es semantische Daten mit praktisch beliebigen Mechanismen persistieren.
Der Mulgara Semantic Store ist ein Triple Store, der nativ in Java als Triple Store implementiert ist und nicht auf relationale Datenbanken angewiesen ist. Als wichtigstes Feature gibt es bei Mulgara das Resolver-SPI, mit dem es möglich ist, entfernten Content zu integrieren.
Mit dem Topaz Projekt existiert eine Erweiterung zu Mulgara, die die Idee eines Objekt Relational Mappers ala Hibernate in die Semantic Web Welt transferiert.
Abschließend beschäftigen wir uns mit Jena, dem marktführenden Semantic Web Framework, dass ursprünglich von Hewlett Packard als Open Source entwickelt wurde und seit kurzem als OpenJena verfügbar ist. Viele Beispiele demonstrieren, wie man mit dem Jena API die wichtigsten Aufgaben erledigt.
Django ist ein in Python programmiertes Framework, dass die schnelle Entwicklung von Web-Applikationen ermöglicht. Dabei wird Wert auf sauberen Code und die Wiederverwendbarkeit von einzelnen Komponenten gelegt.
Der Vortrag wurde beim Webmontag Leipzig im März 2010 gehalten.
Ähnlich wie Ruby On Rails Hermann Stern Bcklu (20)
Django - The Web framework for perfectionists with deadlines
Ruby On Rails Hermann Stern Bcklu
1. Ruby on Rails
BarCamp Klagenfurt
7. / 8. Februar 2009
Hermann Stern
hstern@derstern.at
http://twitter.com/hstern
Hermann Stern www.derstern.at
07.02.2009 1
2. Inhalt
Ruby? on Rails
Ruby on Rails?
Konzepte
Installation
Entwicklungsumgebung
Beispiel
BarCamp Lectures
Und jetzt?
Hermann Stern www.derstern.at
07.02.2009 2
3. Ruby? on Rails (1/3)
http://www.ruby-lang.org/
Objekt-orientierte Interpretersprache
ruby filename.rb
Alles ist ein Objekt
Zahl 1 ist eine Instanz der Klasse Fixnum
Daher keine Funktionen, nur Methoden
Dynamisch / Weakly typed
Wechsel des Typs einer Variablen möglich
Interactive Ruby Shell
http://tryruby.hobix.com/
Hermann Stern www.derstern.at
07.02.2009 3
4. Ruby? on Rails (2/3)
Syntax
Anweisung endet am Ende der Zeile, kein ; notwendig
Variablen und Methoden klein (order_status)
Klassen groß (Registration)
Variablen:
lokal (variable)
global ($variable)
Instanzvariablen (@variable): Attribute von Objekten
Klassenvariablen (@@variable): Alle Instanzen der
Klassen teilen sich die Variablen
Typen: String, Fixnum, Float, Array etc.
Hermann Stern www.derstern.at
07.02.2009 4
5. Ruby? on Rails (3/3)
# Kommentar einzeilig
=begin
Kommentar mehrzeilig
=end
Variablen werden nicht deklariert
nehmen den Datentyp des zugewiesenen Wertes an
a=2
text = „mein Text“
text = String.new(„mein Text“) geht aber auch
Methoden
text.length()
RoR generiert viel Code, von dem man dann weiter
arbeiten kann….
Hermann Stern www.derstern.at
07.02.2009 5
6. Ruby on Rails? (1/2)
Framework für datenbankgestützte
Webapplikationen
In Ruby geschrieben
DRY - quot;Don’t Repeat Yourselfquot;
Convention Over Configuration
Alles hat (s)einen fixen Platz
HTML Files, Bilder, JS, etc.
Zugriff auf Daten, Pfade, Links normiert
Opinionated
„there is a best way to do something“
Hermann Stern www.derstern.at
07.02.2009 6
7. Ruby on Rails? (2/2)
Model View Controller (MVC)
Modell (Daten, meist in Datenbanktabellen)
Action Record
View (User Interface, HTML mit Ruby Code)
Action View
Controller (verbinden Modell und View)
Action Controller
Wird alles als Ruby Sourcecode generiert
Start mit Datenmodell, Controller und View
setzen dann darauf auf
Hermann Stern www.derstern.at
07.02.2009 7
8. Konzepte (1/2)
Generatoren
Modelle
CRUD (Create Retrieve Update Delete)
Controller
Views
etc.
Scaffolds
Modell, View und Controller
Rake tasks
db:update, db:create; rails:update etc.
Hermann Stern www.derstern.at
07.02.2009 8
9. Konzepte (2/2)
Action Record Naming Convention
Klasse: Einzahl in Englisch (Student)
Tabellen: Mehrzahl in Englisch (students)
holt sich RoR aus einem Wörterbuch)
• Person => people
• Student => students
Mapping von URLs auf Methoden in Controllern
/controller class name/controller method name
http://localhost:3001/lectures
http://localhost:3001/lectures/new
http://localhost:3001/lectures/show/1
Hermann Stern www.derstern.at
07.02.2009 9
11. Entwicklungsumgebungen
Aptana RadRails
Allein oder als Eclipse Plugin
http://www.aptana.com/rails/
EasyEclipse http://www.easyeclipse.org/
NetBeans for Ruby
http://www.netbeans.org/
Für Puristen:
Command line & Text Editor
TextMate (OSX), VIM for Rails, Emacs for Rails
Hermann Stern www.derstern.at
07.02.2009 11
13. Beispiel: Neues Projekt
Eclipse | Neues Rails Projekt anlegen
WEBrick
Mongrel
Hermann Stern www.derstern.at
07.02.2009 13
14. Beispiel: Verzeichnisse
Alles hat seinen fixen Platz
app (Applikation)
controllers
helpers
models
views
config (Konfiguration)
public (HTML, JS, Bilder)
Hermann Stern www.derstern.at
07.02.2009 14
15. Beispiel: Webserver starten
Direkt von Eclipse aus
http://localhost:3010/
TO Dos auf Startseite
Datenbank erstellen
Controller
Modelle und Views
Default Routen
Hermann Stern www.derstern.at
07.02.2009 15
16. Beispiel: Ruby on Rails Startseite
Hermann Stern www.derstern.at
07.02.2009 16
17. Beispiel: Datenbank konfigurieren
config/database.yml
Standard: sqlite3
MySQL, PostgreSQL
Drei Umgebungen
Entwicklung (kein Cache, bessere
Fehlermeldungen, keine Emails) default
Produktion (Cache aktiv)
Test (für Testklassen)
config/environments/<NAME>.rb
Definition eigener Umgebungen möglich
Hermann Stern www.derstern.at
07.02.2009 17
19. Beispiel: Controlleranlegen
Startseite der Applikation
Name des Controllers (home) Aktion (index)
Name des Controllers (home) Aktion (index)
Angelegte Dateien
controllers/home_controller.rb
helpers/home_helper.rb
views/home/index.html.erb
Hermann Stern www.derstern.at
07.02.2009 19
23. Beispiel: models/lecture.rb
Noch leer, da keine „Sonderwünsche“
Später
Relationen zu anderen Tabellen
has_many, belongs_to
Validierungen
Wert aus einer Liste, Länge, Typ etc.
Hermann Stern www.derstern.at
07.02.2009 23
26. Beispiel: db/migrate/2009..lectures.rb
„Normale Tabellen“
Inhalt kann selber editieren werden
Automatisch erstellte Felder
created_at
updated_at
Wieder „gratis“ Funktionalität ohne Mehrarbeit
Hermann Stern www.derstern.at
07.02.2009 26
27. Beispiel: Default Routen (1/2)
Pfade durch die Applikation
Neue Startseite setzen
public/index.html löschen
config/routes.rb editieren
map.root :controller => quot;homequot;
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format‚
Hermann Stern www.derstern.at
07.02.2009 27
28. Beispiel: Default Routen (2/2)
views/home/index.html.erb anpassen
<h1>BarCamp Anmeldungen</h1>
<p>
Link zu den Sessions
</p>
<%= link_to quot;Lecturesquot;, lectures_path %>
(lectures_path wurde automatisch erstellt)
Hermann Stern www.derstern.at
07.02.2009 28
32. Beispiel: So gehts weiter…
Anpassen der HTML Templates
Registration durch Scaffold hinzufügen
Tabellen verbinden
belongs to, has many, etc
class Lecture < ActiveRecord::Base
has_many :Registrations
end
Weitere Methoden verfügbar
@registrations = Lecture.find_all
Hermann Stern www.derstern.at
07.02.2009 32
33. Und jetzt?
http://en.wikibooks.org/wiki/Ruby_on_Rails
http://en.wikibooks.org/wiki/Ruby
http://openbook.galileocomputing.de/ruby_on_rails/
Ausprobieren, Learning by Doing
Kreativ sein
http://www.peepalot.com
Online stellen
Wenige Provider bieten WEBrick oder Mongrel
Es gibt auch ein Apache Modul für RoR (mod_rails)
Hermann Stern www.derstern.at
07.02.2009 33