Orchard allows content types to be dynamically extended at runtime. This presentation discusses how Orchard uses virtual methods and dynamic class extensions. It then demonstrates how to extend the blog post content type by adding an existing or new content part using a module. This involves creating a record class, part class, and driver to handle display and editing of the new content part.
So, you need a Content Management System on the .NET framework. While your business might spend wheelbarrows of money on a platform that is powerful and extensible, your personal site would abandon extensibility for a free, open-source solution. But what if we had an option that was free and powerful and extensible? We do: Orchard CMS. Since we already know that Orchard is free, in this session we will discuss the power of Orchard’s CMS engine. You will learn how to build new modules for the Orchard platform, allowing you to extend functionality as you see fit to meet the needs of your site, your business, and customers.
This document provides an overview of key concepts in Orchard CMS, an open source content management system. It discusses how Orchard is built on ASP.NET MVC and Razor, and introduces concepts like modules, themes, widgets, and shapes. It also explains how modules extend Orchard's functionality, and how themes control visual design through alternate shape templates.
Hibernate is a framework used to develop Java applications to interact with database servers. It resolves issues with JDBC like handling exceptions and closing connections. The key components of Hibernate are the configuration file, POJO classes, and mapping files. The configuration file contains database connection details. POJO classes represent records as objects. Mapping files map classes to tables and properties to columns. To use Hibernate, these components are configured along with the required jar files.
This document discusses working with servlets and session tracking in Java. It explores the ServletConfig and ServletContext interfaces, and how to implement session tracking using HttpSession, cookies, and URL rewriting. The objectives are to learn how to access configuration information from servlets, set and get attributes in the servlet context, and maintain state across HTTP requests using different session tracking mechanisms.
The document provides information on AppFuse, an open-source Java web application framework. It describes AppFuse as a project skeleton that eliminates initial setup time and includes additional classes and files implementing common features. The document also lists some key features included in AppFuse like authentication, authorization, file uploads and templated layouts. It notes that these out-of-the-box features distinguish AppFuse from other code generation frameworks.
The document discusses Struts framework and internationalization (I18N) applications. Some key points:
1. Struts is a MVC framework that simplifies development of web applications. It provides components like ActionServlet and tag libraries.
2. I18N applications display output based on the user's locale/language. This is achieved using properties files with language-specific translations and the ResourceBundle class.
3. In Struts, properties files are configured in struts-config.xml and accessed in JSPs using the <message> tag. Keys not found will result in errors unless null=false is specified.
This document provides an overview of ASP.NET MVC frameworks and how to get started with ASP.NET MVC 4. It discusses how ASP.NET MVC supports the MVC pattern and test-driven development. It also describes how to install ASP.NET MVC 4, create a basic MVC 4 project with different templates, add controllers and views, and connect to a database using Entity Framework.
So, you need a Content Management System on the .NET framework. While your business might spend wheelbarrows of money on a platform that is powerful and extensible, your personal site would abandon extensibility for a free, open-source solution. But what if we had an option that was free and powerful and extensible? We do: Orchard CMS. Since we already know that Orchard is free, in this session we will discuss the power of Orchard’s CMS engine. You will learn how to build new modules for the Orchard platform, allowing you to extend functionality as you see fit to meet the needs of your site, your business, and customers.
This document provides an overview of key concepts in Orchard CMS, an open source content management system. It discusses how Orchard is built on ASP.NET MVC and Razor, and introduces concepts like modules, themes, widgets, and shapes. It also explains how modules extend Orchard's functionality, and how themes control visual design through alternate shape templates.
Hibernate is a framework used to develop Java applications to interact with database servers. It resolves issues with JDBC like handling exceptions and closing connections. The key components of Hibernate are the configuration file, POJO classes, and mapping files. The configuration file contains database connection details. POJO classes represent records as objects. Mapping files map classes to tables and properties to columns. To use Hibernate, these components are configured along with the required jar files.
This document discusses working with servlets and session tracking in Java. It explores the ServletConfig and ServletContext interfaces, and how to implement session tracking using HttpSession, cookies, and URL rewriting. The objectives are to learn how to access configuration information from servlets, set and get attributes in the servlet context, and maintain state across HTTP requests using different session tracking mechanisms.
The document provides information on AppFuse, an open-source Java web application framework. It describes AppFuse as a project skeleton that eliminates initial setup time and includes additional classes and files implementing common features. The document also lists some key features included in AppFuse like authentication, authorization, file uploads and templated layouts. It notes that these out-of-the-box features distinguish AppFuse from other code generation frameworks.
The document discusses Struts framework and internationalization (I18N) applications. Some key points:
1. Struts is a MVC framework that simplifies development of web applications. It provides components like ActionServlet and tag libraries.
2. I18N applications display output based on the user's locale/language. This is achieved using properties files with language-specific translations and the ResourceBundle class.
3. In Struts, properties files are configured in struts-config.xml and accessed in JSPs using the <message> tag. Keys not found will result in errors unless null=false is specified.
This document provides an overview of ASP.NET MVC frameworks and how to get started with ASP.NET MVC 4. It discusses how ASP.NET MVC supports the MVC pattern and test-driven development. It also describes how to install ASP.NET MVC 4, create a basic MVC 4 project with different templates, add controllers and views, and connect to a database using Entity Framework.
Web services can be accessed over a network and are called using HTTP. There are two main types: SOAP uses XML and is language/platform independent; REST uses URI to expose resources and can use JSON. Java has JAX-WS for SOAP and JAX-RS for RESTful services. REST is faster and uses less bandwidth than SOAP. The document discusses implementing REST services in Java using JAX-RS and Jersey, including using annotations and returning Response objects.
Tumbleweed (Axway Secure Transport) is a managed file transfer system that uses a dynamic SFTP server to transfer files. It allows users to register and schedule file movements and program executions based on time or file conditions. Tumbleweed uses Tomcat as a front-end Java server, MySQL for database storage, and Cygwin to run external commands from a Unix-like environment on Windows. It provides encryption, active directory integration, and reporting on file transfers.
This document provides an introduction and overview of Struts, an MVC framework for Java web applications. It discusses Struts' main components and design patterns, including:
- Struts acts as an MVC framework, providing utilities for web app development using the MVC pattern.
- The framework has 3 main components - Controller, View, and Model.
- Struts uses the standard MVC design of separating data, presentation, and business logic into separate but interacting elements.
This document provides an overview of Maven, Subversion (SVN), and GIT. It discusses how to install and set up Maven, create Maven projects, and manage dependencies. It also explores version control systems, specifically SVN and GIT. With SVN, it demonstrates how to create repositories and check out projects. It discusses merging code and avoiding conflicts. The document is a presentation intended to teach these topics.
The document describes the steps to integrate Hibernate with Spring:
1. Add Hibernate libraries to the classpath
2. Declare a SessionFactory bean in Spring configuration
3. Inject the SessionFactory into a HibernateTemplate
4. Inject the HibernateTemplate into DAO classes
5. Define the HibernateTemplate property in DAO classes
6. Use the HibernateTemplate for queries in DAOs
An alternative is to use HibernateDaoSupport which simplifies the process by directly wiring the SessionFactory.
Leverage Hibernate and Spring Features TogetherEdureka!
As data usage is increasing day by day in all domain applications, the usage and complexity of Database increases exponentially. It is important to have a framework which handles all the life cycle, connections, sessions and transactions of database, henceforth leaving only the business logic for the developers to work with. This is where Hibernate comes in and helps the professionals to concentrate only on business logic instead of database environments.
Spring Framework combines all the industry standard framework approaches (e.g. Struts and Hibernate) into one bundle. Spring provides Dependency Injection, Aspect Oriented Programming and support for unit testing. This gives the developer time to work on main business logic rather than worrying about non-application code.
Spring Web Service, Spring JMS, Eclipse & Maven tutorialsRaghavan Mohan
This tutorial builds on the previous tutorial on creating a simple Spring web service. It adds logging functionality by including the Log4j logging framework and configuring Spring WS interceptors. The log4j.xml file is added to configure logging to the console. The Spring WS configuration is updated to include the PayloadLoggingInterceptor and SoapEnvelopeLoggingInterceptor, which will log SOAP request and response messages. This allows logging of SOAP messages to help debug and monitor the web service.
1) Single page applications (SPAs) use JavaScript to dynamically update the content of a single web page rather than loading entire new pages. This reduces page refreshes.
2) React is a popular JavaScript library for building user interfaces, especially for SPAs. It uses a virtual DOM for faster rendering.
3) Create-React-App is a command line interface that sets up a React project with common dependencies like Babel and Webpack preconfigured.
The document provides information on creating and configuring Struts components in a Java web application using Rational Application Developer. It discusses key concepts of the Struts framework such as the model-view-controller (MVC) architecture. It also describes how to enable a dynamic web project for Struts, create Struts modules, and use wizards to generate Struts actions, forms, and configuration files.
This document outlines 10 programming assignments covering packages, exception handling, multithreading, and applet programming using Swing. The assignments include implementing multiple inheritance using packages, using multiple catch blocks and a finally block to handle exceptions, creating and running threads using different methods, and developing applets that take user input, perform calculations, and display output.
This document discusses JSP technology and JSTL tags. It covers working with JSTL core tags like <out>, <set>, <if>, <choose>, <forEach>, and <url>. It also discusses JSTL formatting tags for formatting numbers, dates, and times. Additionally, it covers JSTL database tags for interacting with databases, including <setDataSource>, <query>, <param>, and <transaction>. The slides provide examples and explanations of how to use various JSTL tags in JSP pages.
This document provides an overview of implementing multi-tiered e-commerce systems using AngularJS and Java EE. It discusses AngularJS frameworks and components, Representational State Transfer (RESTful) web services, generating RESTful services from entity classes in Java EE, and creating an AngularJS application with a RESTful backend. Key points covered include AngularJS modules, controllers, services and views, developing RESTful services with JAX-RS annotations, and integrating an AngularJS frontend with a Java EE/JAX-RS backend to retrieve and display entity data.
SPFarm objects represent the highest level in the SharePoint hierarchy as they represent the entire SharePoint farm. SPSite objects represent site collections, which are the largest objects users typically interact with. SPWeb objects represent individual websites within a site collection and contain things like actual content. Visual Web Part projects include a default user control and preconfigured web part to load the control, Sequential workflows have a defined start and end while State Machine workflows allow items to move between states without a predefined order.
The document provides instructions for creating a Struts application that allows library patrons to log in and view a list of borrowed items. It involves:
1) Enabling Struts support on an existing web project
2) Creating JSP pages (login, error, search) using the Web Diagram editor
3) Implementing a login action class to validate credentials and forward to the appropriate page
4) Adding validation to check for correct input fields on the login page
The document discusses Spring Boot, a framework for creating stand-alone, production-grade Spring based applications. It describes how Spring Boot allows creating projects quickly with features like embedded servers and auto-configuration. It then covers how to develop a basic Spring Boot web application including creating the project structure with Maven, adding controllers and properties files, and connecting to databases using Spring Data. Overall, the document provides an overview of Spring Boot and guidance on starting a Spring Boot web application project.
This document discusses different storage options in Android applications, including Shared Preferences, internal storage, external storage, and SQLite databases. It provides code examples for storing and retrieving data from Shared Preferences and reading and writing to internal and external files. The exercises guide the reader to create an Android application that uses Shared Preferences to save user preferences, and reads and writes to internal and external files to store application data.
Sling is a RESTful web application framework that uses JCR repositories like Apache Jackrabbit as its data store. Sling maps HTTP requests to content resources in the repository and uses the resource type to locate the appropriate rendering script. The request URL is decomposed into the resource path, selectors, extension, and suffix path. Sling searches for a node matching the resource path and then locates a script based on the resource type and any selectors. Sling scripts cannot be called directly and must be resolved through the resource to follow REST principles. This document discusses how Sling maps URLs to content resources and scripts to process requests.
The document discusses web application architectures and frameworks. It describes the Model-1 architecture, which mixes all logic types in one program, and the improved MVC-1 and MVC-2 architectures, which separate logic into layers. MVC-2 divides an application into model (business/data), view (presentation), and controller layers, allowing cleaner separation and parallel development. Popular Java web frameworks like Struts automate common MVC-2 tasks, making application development easier.
The document provides an overview of JavaServer Pages (JSP) technology. It discusses what JSP is, how JSP pages work, common JSP elements like declarations, expressions, scriptlets, implicit objects, directives, and tags. Key points covered include how JSP pages are compiled into Java servlets, the JSP lifecycle, and how to include files, redirect to other pages, and use beans in JSP.
This document provides an overview of the Spring framework. It discusses how Spring provides lightweight dependency injection and inversion of control to simplify Java application development. It covers the core Spring module, including the IoC container and types of dependency injection. It also discusses factory methods, bean scopes, and how to define and configure beans in the Spring XML configuration file. The goal is to introduce the key concepts and capabilities of the Spring framework.
The document announces an extended deadline of September 2nd at 23:59 for applying to one of two tracks, Leaders or Initiative Groups, at the Sielpia Wielka conference running from September 15th-18th. The conference will include AIESEC Business School sessions for leaders, networking with European region leaders, and meetings with company experts. Contact information is provided for the conference, agenda, and assistant managers.
This document outlines the Moonwalk program, which aims to co-create solutions to big challenges through innovation and collaboration. It discusses the history of major innovations like Sputnik and the Apollo moon landings. The Moonwalk program involves 3 semesters that guide participants from framing challenges to turning projects into businesses. Participants can be Innovators who work remotely or Astronauts who work intensively on-site. The goal is to educate a new generation of innovators to solve important problems through this shared experience.
Web services can be accessed over a network and are called using HTTP. There are two main types: SOAP uses XML and is language/platform independent; REST uses URI to expose resources and can use JSON. Java has JAX-WS for SOAP and JAX-RS for RESTful services. REST is faster and uses less bandwidth than SOAP. The document discusses implementing REST services in Java using JAX-RS and Jersey, including using annotations and returning Response objects.
Tumbleweed (Axway Secure Transport) is a managed file transfer system that uses a dynamic SFTP server to transfer files. It allows users to register and schedule file movements and program executions based on time or file conditions. Tumbleweed uses Tomcat as a front-end Java server, MySQL for database storage, and Cygwin to run external commands from a Unix-like environment on Windows. It provides encryption, active directory integration, and reporting on file transfers.
This document provides an introduction and overview of Struts, an MVC framework for Java web applications. It discusses Struts' main components and design patterns, including:
- Struts acts as an MVC framework, providing utilities for web app development using the MVC pattern.
- The framework has 3 main components - Controller, View, and Model.
- Struts uses the standard MVC design of separating data, presentation, and business logic into separate but interacting elements.
This document provides an overview of Maven, Subversion (SVN), and GIT. It discusses how to install and set up Maven, create Maven projects, and manage dependencies. It also explores version control systems, specifically SVN and GIT. With SVN, it demonstrates how to create repositories and check out projects. It discusses merging code and avoiding conflicts. The document is a presentation intended to teach these topics.
The document describes the steps to integrate Hibernate with Spring:
1. Add Hibernate libraries to the classpath
2. Declare a SessionFactory bean in Spring configuration
3. Inject the SessionFactory into a HibernateTemplate
4. Inject the HibernateTemplate into DAO classes
5. Define the HibernateTemplate property in DAO classes
6. Use the HibernateTemplate for queries in DAOs
An alternative is to use HibernateDaoSupport which simplifies the process by directly wiring the SessionFactory.
Leverage Hibernate and Spring Features TogetherEdureka!
As data usage is increasing day by day in all domain applications, the usage and complexity of Database increases exponentially. It is important to have a framework which handles all the life cycle, connections, sessions and transactions of database, henceforth leaving only the business logic for the developers to work with. This is where Hibernate comes in and helps the professionals to concentrate only on business logic instead of database environments.
Spring Framework combines all the industry standard framework approaches (e.g. Struts and Hibernate) into one bundle. Spring provides Dependency Injection, Aspect Oriented Programming and support for unit testing. This gives the developer time to work on main business logic rather than worrying about non-application code.
Spring Web Service, Spring JMS, Eclipse & Maven tutorialsRaghavan Mohan
This tutorial builds on the previous tutorial on creating a simple Spring web service. It adds logging functionality by including the Log4j logging framework and configuring Spring WS interceptors. The log4j.xml file is added to configure logging to the console. The Spring WS configuration is updated to include the PayloadLoggingInterceptor and SoapEnvelopeLoggingInterceptor, which will log SOAP request and response messages. This allows logging of SOAP messages to help debug and monitor the web service.
1) Single page applications (SPAs) use JavaScript to dynamically update the content of a single web page rather than loading entire new pages. This reduces page refreshes.
2) React is a popular JavaScript library for building user interfaces, especially for SPAs. It uses a virtual DOM for faster rendering.
3) Create-React-App is a command line interface that sets up a React project with common dependencies like Babel and Webpack preconfigured.
The document provides information on creating and configuring Struts components in a Java web application using Rational Application Developer. It discusses key concepts of the Struts framework such as the model-view-controller (MVC) architecture. It also describes how to enable a dynamic web project for Struts, create Struts modules, and use wizards to generate Struts actions, forms, and configuration files.
This document outlines 10 programming assignments covering packages, exception handling, multithreading, and applet programming using Swing. The assignments include implementing multiple inheritance using packages, using multiple catch blocks and a finally block to handle exceptions, creating and running threads using different methods, and developing applets that take user input, perform calculations, and display output.
This document discusses JSP technology and JSTL tags. It covers working with JSTL core tags like <out>, <set>, <if>, <choose>, <forEach>, and <url>. It also discusses JSTL formatting tags for formatting numbers, dates, and times. Additionally, it covers JSTL database tags for interacting with databases, including <setDataSource>, <query>, <param>, and <transaction>. The slides provide examples and explanations of how to use various JSTL tags in JSP pages.
This document provides an overview of implementing multi-tiered e-commerce systems using AngularJS and Java EE. It discusses AngularJS frameworks and components, Representational State Transfer (RESTful) web services, generating RESTful services from entity classes in Java EE, and creating an AngularJS application with a RESTful backend. Key points covered include AngularJS modules, controllers, services and views, developing RESTful services with JAX-RS annotations, and integrating an AngularJS frontend with a Java EE/JAX-RS backend to retrieve and display entity data.
SPFarm objects represent the highest level in the SharePoint hierarchy as they represent the entire SharePoint farm. SPSite objects represent site collections, which are the largest objects users typically interact with. SPWeb objects represent individual websites within a site collection and contain things like actual content. Visual Web Part projects include a default user control and preconfigured web part to load the control, Sequential workflows have a defined start and end while State Machine workflows allow items to move between states without a predefined order.
The document provides instructions for creating a Struts application that allows library patrons to log in and view a list of borrowed items. It involves:
1) Enabling Struts support on an existing web project
2) Creating JSP pages (login, error, search) using the Web Diagram editor
3) Implementing a login action class to validate credentials and forward to the appropriate page
4) Adding validation to check for correct input fields on the login page
The document discusses Spring Boot, a framework for creating stand-alone, production-grade Spring based applications. It describes how Spring Boot allows creating projects quickly with features like embedded servers and auto-configuration. It then covers how to develop a basic Spring Boot web application including creating the project structure with Maven, adding controllers and properties files, and connecting to databases using Spring Data. Overall, the document provides an overview of Spring Boot and guidance on starting a Spring Boot web application project.
This document discusses different storage options in Android applications, including Shared Preferences, internal storage, external storage, and SQLite databases. It provides code examples for storing and retrieving data from Shared Preferences and reading and writing to internal and external files. The exercises guide the reader to create an Android application that uses Shared Preferences to save user preferences, and reads and writes to internal and external files to store application data.
Sling is a RESTful web application framework that uses JCR repositories like Apache Jackrabbit as its data store. Sling maps HTTP requests to content resources in the repository and uses the resource type to locate the appropriate rendering script. The request URL is decomposed into the resource path, selectors, extension, and suffix path. Sling searches for a node matching the resource path and then locates a script based on the resource type and any selectors. Sling scripts cannot be called directly and must be resolved through the resource to follow REST principles. This document discusses how Sling maps URLs to content resources and scripts to process requests.
The document discusses web application architectures and frameworks. It describes the Model-1 architecture, which mixes all logic types in one program, and the improved MVC-1 and MVC-2 architectures, which separate logic into layers. MVC-2 divides an application into model (business/data), view (presentation), and controller layers, allowing cleaner separation and parallel development. Popular Java web frameworks like Struts automate common MVC-2 tasks, making application development easier.
The document provides an overview of JavaServer Pages (JSP) technology. It discusses what JSP is, how JSP pages work, common JSP elements like declarations, expressions, scriptlets, implicit objects, directives, and tags. Key points covered include how JSP pages are compiled into Java servlets, the JSP lifecycle, and how to include files, redirect to other pages, and use beans in JSP.
This document provides an overview of the Spring framework. It discusses how Spring provides lightweight dependency injection and inversion of control to simplify Java application development. It covers the core Spring module, including the IoC container and types of dependency injection. It also discusses factory methods, bean scopes, and how to define and configure beans in the Spring XML configuration file. The goal is to introduce the key concepts and capabilities of the Spring framework.
The document announces an extended deadline of September 2nd at 23:59 for applying to one of two tracks, Leaders or Initiative Groups, at the Sielpia Wielka conference running from September 15th-18th. The conference will include AIESEC Business School sessions for leaders, networking with European region leaders, and meetings with company experts. Contact information is provided for the conference, agenda, and assistant managers.
This document outlines the Moonwalk program, which aims to co-create solutions to big challenges through innovation and collaboration. It discusses the history of major innovations like Sputnik and the Apollo moon landings. The Moonwalk program involves 3 semesters that guide participants from framing challenges to turning projects into businesses. Participants can be Innovators who work remotely or Astronauts who work intensively on-site. The goal is to educate a new generation of innovators to solve important problems through this shared experience.
París es considerada la ciudad del amor debido a sus muchos monumentos famosos que cautivan a las personas, así como por la fantasiosa visión romántica de la ciudad que existe para los enamorados. Sin embargo, el amor es un sentimiento interno que no depende de un lugar en particular, sino que puede nacer en cualquier parte.
This document provides information about the second mailing for an event taking place from September 15-18 at the "Łucznik" resort in Sielpia Wielka. It outlines the transportation options from nearby cities, and schedules various activities including a casino night on the 15th, fashion show on the 16th, and cultural exchange event on the 17th. It also provides contact information for the conference, agenda, and assistant managers.
Вот уже почти 2 года идет программа "Секрет успеха основанный на Библии", а я так и не начал размышлять вместе с вами над конкретным текстом каждую неделю. Дело в том, что я не слышал раньше эту проповедь и не вполне понимал этот принцип изучения Писания. Теперь я вижу и хочу присоединиться. Спасибо, брат. Слава Богу.
This document discusses innovation and making positive change in the world. It references historical milestones like Sputnik and the moon landing, and encourages the reader to find their own "moonwalk" or ambitious goal that can make a difference. It provides steps to take such a challenge, including finding a mission, engaging supporters, organizing resources, and maximizing outcomes to change the world through innovation.
The 2001 Bhuj earthquake in Gujarat, India caused widespread destruction and loss of life. Over 20,000 people were killed and 167,000 injured. Entire districts were destroyed and around 300,000 families were left homeless. The cities of Bhuj and Bhachau were most severely damaged, with over 90% of buildings destroyed in Bhuj. Critical infrastructure like hospitals, roads, and bridges sustained heavy damage. International relief efforts provided emergency aid in search and rescue as well as long-term reconstruction programs.
The document discusses a workshop held in Norway called "Norway Beyond Oil & Gas" about diversifying Norway's economy beyond its reliance on oil and gas. The workshop included a panel discussion on what Norway's future holds beyond oil and gas. It also promoted an initiative called "Moonwalk Tomorrow" which aims to create new jobs and industries in Norway through a crowdfunded program that supports innovators and new business ideas. The workshop involved groups brainstorming new opportunities, industries, and missions that could be pursued as part of moving Norway's economy beyond its current reliance on oil and gas resources.
. Our mother earth has been undergoing changes; both slow and catastrophic from the very beginning. Disasters are inevitable and it doesn’t have any boundaries.
The document discusses toll road projects in India. It provides details about a proposed 30 km bypass toll road project in Bangalore, including project costs, capital structure, toll rates, traffic assumptions, key dates, and details of the concession agreement. The concessionaire will design, build, operate and maintain the road for 30 years, after which it will revert to the government. Traffic is projected to grow at rates between 3-6.5% annually over the 30 year concession period.
Organization structure defines the framework and hierarchy within an organization. It establishes authority levels and identifies each job and its function to help the organization work together efficiently to achieve its goals. Organization structure is intentionally created and takes the form of a pyramid, providing the framework that guides managerial actions. Charts are used to visually depict the formal structural relationships within the organization.
The document discusses different classifications of public expenditures. It outlines Mrs. Hicks' classification which separates expenditures into defense, civil, and development. Defense expenditure includes costs for defense equipment and wages for armed, navy, and air forces. Civil expenditure maintains law and order and administration of justice. Development expenditure promotes growth in agriculture, industry, trade, transport, and communication.
This document discusses staffing as a key human resource management function. It defines staffing as filling positions in an organization through recruitment, selection, placement and development of personnel. The importance of effective staffing is outlined, including obtaining competent employees, optimizing performance and ensuring succession planning. The evolution of human resource management from a welfare model to integrated corporate strategy is summarized. Finally, the key steps in the staffing process are identified as estimating requirements, recruitment, selection, placement, training and development, and performance appraisal.
The 2001 Bhuj earthquake in Gujarat, India caused widespread destruction, killing over 20,000 people and leaving over 3 million homeless. The magnitude 7.7 earthquake destroyed 90% of buildings in the city of Bhuj and damaged infrastructure across western Gujarat. International relief arrived to assist survivors amid the devastation, while the government and NGOs coordinated reconstruction efforts, building over 200,000 disaster-resistant homes to replace those destroyed.
Chung-Hsing Surveying Co. is a surveying company founded in Taichung, Taiwan in 1969. It was the first private surveying company in Taiwan. The company has 6 departments and 82 employees. It specializes in control surveying, digital terrain modeling, engineering surveying, urban planning, and hydrographic surveying using innovative technologies like terrestrial, mobile, and airborne LiDAR systems as well as hyperspectral imaging. Chung-Hsing was also the first company to adopt GPS in 1992, establish an airborne LiDAR system in 2003, and acquire a commercial hyperspectral imager in 2011.
This presentation was delivered at the 2012 Blackboard Developer's Conference in New Orleans. It details lessons learned when creating custom content types that survive course copy.
A common Building Block task is to create a new custom content type in Blackboard. The new OpenDatabase allows you to easily create content with much greater functionality and awareness of other parts of Blackboard. You can even tidy up properly afterwards. Surely copying this content wouldn't prove too tricky? I was so wrong. This session explains how Blackboard expect this to happen, names the (undocumented) APIs and walks you through the lifecycle of a custom content item. The open source SignUp List building block is used as a case study.
Orchard CMS - this is a new content management system supported by Microsoft. During the presentation will be reviewed basic principles of architecture, system modules and usage
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)Ranel Padon
The document discusses using batch scripting with Drupal and the EntityFieldQuery API. It explains why batch processing is useful, such as avoiding PHP timeouts and integrating with installation profiles. The EntityFieldQuery API allows querying entity properties and fields across entity types in a database-agnostic way. The document also provides details on implementing a custom batch module, including using the Form and Batch APIs, and defining callbacks. Two use cases are presented: updating user profile field formats in batches, and setting preview images for taxonomy terms. The summary recommends links for additional resources on batch processing and the EntityFieldQuery API.
Share was originally built as a collaboration application on top of the Alfresco Platform. Because Share is a more modern interface than Alfresco Explorer, many customers have adopted customizing Share as their strategy for building solutions on Alfresco. To be successful, such solutions need to understand that Share is a complete collaboration application with a specific Information Architecture. This session will explore leveraging the Share UI while creating your own Information Architecture, including for non-collaborative use cases. Topics covered include: • Create your Information Architecture (folder structure, content model etc…) • Create the necessary screens • Using the underlying framework to wire in the functionality needed to complete the application
- The Drupal Objects module extends Drupal's core node object by creating classes for each content type that inherit from a base ContentType class. This allows nodes to be treated as objects and take advantage of object-oriented programming.
- When a new content type is created, the module automatically generates a class file for it. This class has methods that correspond to the node's fields and properties.
- Additional utility classes are provided, such as Collection, to help manage relationships between nodes and other Drupal entities in an object-oriented way.
- Benefits of this approach include more organized code, improved performance, and the ability to rapidly develop new functionality by extending the node and other Drupal objects. The module aims to
The document describes a People Aggregator web platform for rapidly developing Web 2.0 applications. It provides core functionality like user profiles, blogs, messaging, and media publishing through a modular API. Developers can build custom applications without implementing these standard features from scratch. The platform uses a LAMP stack, object-oriented design, and supports features such as user profiles, relationships, messaging, media sharing, and more.
This document discusses implementing multi-departmental authoring in Drupal. It begins with a case study of a successful employee portal project. It then provides a tutorial on setting up departmental content using taxonomy fields, restricting author access to content using Taxonomy Access Control, and enabling multiple authors using Module Grants. Various modules like CCK, Views, and Masquerade are also discussed. The goal is to provide a repeatable approach for managing content from multiple departments and authors.
Workshop: Creating your first WordPress pluginylefebvre
The workshop aims to teach participants how to create a functional WordPress plugin using custom post types. It will cover creating a plugin header, registering a custom post type, adding custom fields and templates, and displaying the custom post type data in various places using shortcodes, custom templates, and filters. The outline details the specific topics to be covered, including creating custom categories and columns for the custom post type listings, and altering page titles using plugin filters.
Word press interview question and answer tops technologiesTOPS Technologies
Dehradun Office
96/2 Haridwar Road,
(in front of LIC office),
Dharampur,
Dehradun,
Uttarakhand.
http://www.tops-int.com/live-project-training-php.html
Most experienced IT Training Institute in Dehradun known for providing PHP course as per Industry Standards and Requirement.
This document summarizes a presentation about integrating eZ Publish, an open-source content management system. Chapter 1 introduces eZ Publish and provides statistics on its usage. Chapter 2 discusses custom data modeling in eZ Publish. Chapter 3 covers using eZ Publish to manage multiple websites. Chapter 4 explains approaches to integrating external data through APIs. The final chapter takes questions from the audience.
C++ is an object-oriented programming language developed by Bjarne Stroustrup at AT&T Bell Lab in the year 1980. Initially it was named “C with classes” but later in 1983 the name changed to C++. It is an extension of C with..
The document discusses customizing HTML outputs from DITA using CSS stylesheets and parameters. It provides an overview of common HTML formats (XHTML, HTML Help, Eclipse Help, JavaHelp), how they can be customized through CSS, parameters, and XSL overrides. It also covers context sensitivity for HTML Help and Eclipse Help through plugins, and resources for further customization.
Best Practices for Migrating a Legacy-Based CMS to DrupalAcquia
This document provides an overview of best practices for migrating a legacy content management system (CMS) to Drupal. It discusses preparing legacy content for import, understanding relevant Drupal concepts, and various methods for importing content into Drupal. It also includes a case study of In-Fisherman.com's migration from a proprietary CMS to Drupal and lessons learned.
Best Practices for Migrating a Legacy-Based CMS to Drupal
Orchard Dynamic Class Extensions
1. Orchard Dynamic Class Extensions
(A Code Club Presentation)
May 14, 2012
Presenters
Mark Dolar
Nesim Sisa
Based on Article: Orchard Extensibility by Bertrand Le Roy
http://msdn.microsoft.com/en-us/magazine/hh708754.aspx
2. Orchard Dynamic Class Extensions
Key Questions -
Why does Orchard have virtual methods?
What does it mean to dynamically extend a class at
runtime?
Why dynamically extend a class at runtime?
How do I dynamically extend a class at runtime?
3. Orchard Dynamic Class Extensions
A Simple T/F Quiz about Orchard:
Content Items are the central content entity in Orchard and
T F are entities users consider an end- product (like Blog
Postings or a product page).
In Orchard, Content Types are classes of Content
T F Items.
In Orchard, Content Items are not instances of classes
T F such as BlogPost, Product or Widget.
In Orchard, Content Items are composed of Content Parts
where any two Content Items with common sets of
T F Content Parts are considered of the same Content Type
class.
4. Orchard Dynamic Class Extensions
A Simple T/F Quiz about Orchard:
T F Content Items in Orchard correspond to a URL.
MPEG-2 Video Stream Closed Captioning Data is a
T F Content Part in Orchard.
New Content Parts can by added to Orchard
T F without programming (ie. Visual Studio)
Development.
T F In Orchard, Content Items are instances of Content Types.
5. Orchard Dynamic Class Extensions
A Simple T/F Quiz about .NET:
T F C# is a statically typed language as opposed to
a dynamically typed language.
Static typing in C# means we can only describe
T F the fields, properties and methods inherent in all
dynamic objects, not the objects themselves.
6. Orchard Dynamic Class Extensions
What important things do we know about Orchard's
dynamic content types?
This is actually exactly how the blog post content type is defined
1.ContentDefinitionManager.AlterTypeDefinition
("BlogPost",
2. cfg => cfg
3. .WithPart("BlogPostPart")
4. .WithPart("CommonPart", p => p
5. .WithSetting
("CommonTypePartSettings.ShowCreatedUtcEditor",
"true"))
6. .WithPart("PublishLaterPart")
7. .WithPart("RoutePart")
8. .WithPart("BodyPart")
9. ); F
7. Orchard Dynamic Class Extensions
Extending the BlogPost content type dynamically
Two Approaches:
1. Adding an existing Content Part via a Yummy Recipe
-Comments
-Tags
2. Building a new Content Part via a Module
-Brand X GPS
-Metatag addition to page head example
-Totally Unique Recording Device (T.U.R.D.)
8. Orchard Dynamic Class Extensions
Extending the BlogPost content type dynamically
Metatag addition to page head example:
1.<meta content="Orchard is an open source Web
CMS built on ASP.NET MVC."
2. name="description" />
3.<meta content="Orchard, CMS, Open source"
name="keywords" />
Module will add the above properties to the head section of
the Blog Post Page
Used to facilitate Search Engine Optimization
A previously unavailable Content Part
9. Orchard Dynamic Class Extensions
Extending the BlogPost content type dynamically
Building a new Content Part via a Module
-The Record
-The Part Class
-The Driver
These are basic components to a Content Type Module
10. Orchard Dynamic Class Extensions
Building a new Content Part via a Module
-The Record
0. public class MetaRecord :
ContentPartRecord {
0. public virtual string Keywords { get; set;
}
1. public virtual string Description { get;
set; }
2. }
Deriving from ContentPartRecord not absolutely necessary
A Record provides object persistence in the database
Virtual properties enables dynamic mix-in
11. Orchard Dynamic Class Extensions
Building a new Content Part via a Module
-The Record
1.public class MetaHandler :
ContentHandler {
2. public MetaHandler(
3. IRepository<MetaRecord> repository)
{
4. Filters.Add(
5. StorageFilter.For(repository));
6. }
7.}
The record's only job is persistence.
Via a method, the Record table maps to the record class with calls to
the ContentPartRecord plus Keywords and Description String
Columns.
12. Orchard Dynamic Class Extensions
Building a new Content Part via a Module
-The Part Class
The representation of the part itself is another class that
derives from ContentPart<TRecord>:
1.public class MetaPart : ContentPart<MetaRecord> {
2. public string Keywords {
3. get { return Record.Keywords; }
4. set { Record.Keywords = value; }
5. }
6. public string Description {
7. get { return Record.Description; }
8. set { Record.Description = value; }
9. }
10.}
13. Orchard Dynamic Class Extensions
Building a new Content Part via a Module
-The Part Class
-Part acts as proxy to Keywords and Description properties, but
can be accessed through base ContentPart class.
-Strong typing of of Keywords and Descriptions enabled by As
method (analog to CLR cast operation):
1.var metaKeywords = item.As<MetaPart>().Keywords;
-Part class can be a composite; exposing subobject methods or
composite properties.
14. Orchard Dynamic Class Extensions
Building a new Content Part via a Module
-The Driver
-Class derived from CotentPartDriver
-Scaled-Down Controller
-Methods handling well-defined events
-Display
-Editor
15. Orchard Dynamic Class Extensions
Building a new Content Part via a Module
-The Driver
Sample Driver for metadata display method -
1.protected override DriverResult Display(
2. MetaPart part, string displayType, dynamic shapeHelper) {
3. var resourceManager = _wca.GetContext
().Resolve<IResourceManager>();
4. if (!String.IsNullOrWhiteSpace(part.Description)) {
5. resourceManager.SetMeta(new MetaEntry {
6. Name = "description",
7. Content = part.Description
8. });
9. }
10. if (!String.IsNullOrWhiteSpace(part.Keywords)) {
11. resourceManager.SetMeta(new MetaEntry {
12. Name = "keywords",
13. Content = part.Keywords
14. });
15. }
16. return null;
17.}
16. Orchard Dynamic Class Extensions
Building a new Content Part via a Module
-The Driver
-Most Drivers return a Dynamic Object called a shape
-Shapes are assembled by Orchard into a composite and
dynamic view model for the entire request.
-Default rendering can be overriden by inserting a file into
the current theme.
17. Orchard Dynamic Class Extensions
Key Questions -
Why does Orchard have virtual methods?
What does it mean to dynamically extend a class at
runtime?
Why dynamically extend a class at runtime?
How do I dynamically extend a class at runtime?
18. Orchard Dynamic Class Extensions
Thank You!
Mark Dolar Contact Info:
Linkedin:
http://www.linkedin.com/pub/mark-dolar/0/95/344
Follow Mark’s Little Media Blog via Twitter – More
Common Sense than one Blog should enjoy:
Twitter Name: Powerfinger
Current Topic: The Top Ten Reasons We Need Big Data
19. Orchard Dynamic Class Extensions
Thank You!
Nesim Sisa Contact Info:
Linkedin:
http://www.linkedin.com/pub/nesim-sisa/41/911/540
Email:
Nesim.Sisa at gmail.com
Editor's Notes
No matter what CMS you use to build your site, there will be a central content entity that goes by different names. In Drupal, it’s called a node, and in Orchard, it’s a content item. Content items are atoms of content such as blog posts, pages, products, widgets or status updates. Some of them correspond to a URL, and some don’t. Their schemas vary greatly, but what they have in common is they’re the smallest content units on the site. Or are they?As developers, our first reaction is to identify content items as instances of classes (post, page, product or widget), which is correct to an extent
Question 1 certainly falseSome of them correspond to a URL, and some don’t. Question 2 may be true or false, depending on whether the Closed Captioning is being processed by a video player run by a driver. If the Closed Captioning is processed independent of the video, it could be it’s own content part (ie. A search algorithm).Question 3 probably false (requires a module). Content Types can be added without developmentQuestion 4 I think is true
Question 1 is obviousQuestion 2 is probably true, but should initiate discussion. In other words, I can’t describe a Blog Posting because the definition is not universal. It turns out there are only two fields: Keywords and Descriptions and two methods: Display and Editor.
There's not much Here...by designNo Comments or Tags
The objective is to extend the capabilities of the Blog Post Content Type – is a new Content Type created?Figure 2 The SEO Meta Data EditorThese properties will be rendered into the head section of the page as standard metatags that search engines understand:<meta content="Orchard is an open source Web CMS built on ASP.NET MVC."name="description" /><meta content="Orchard, CMS, Open source" name="keywords" />
If you want to build a module, you will likely need each one these. One of them is optional – which one?
That is basics of the Record
The Part Class basically contains two properties – Keywords and Description
Now we get to some interesting stuff –The part acts as a proxy to the record’s Keywords and Description properties as a convenience, but if it didn’t, the record and its properties would still be available through the public Record property of the base ContentPart class.Any code that has a reference to a content item that has the MetaPart part will be able to gain strongly typed access to the Keywords and Description properties by calling the As method, which is the analog in the Orchard type system of a CLR cast operation:varmetaKeywords = item.As<MetaPart>().Keywords;The part class is also where you’d implement any specific behavior of the part’s data. For example, a composite product could expose methods or properties to access its subproducts or compute a total price.Behavior that pertains to user interaction (the orchestration code that would in a regular ASP.NET MVC application be found in the controller) is another matter. This is where drivers come in.
Each part in a content item has to get an opportunity to participate in the request lifecycle and effectively do the work of an ASP.NET MVC controller, but it needs to do it at the scale of the part instead of doing it at the scale of the full request. A content part driver plays the role of a scaled-down controller. It doesn’t have the full richness of a controller in that there’s no mapping to its methods from routes. Instead, it’s made of methods handling well-defined events, such as Display or Editor. A driver is just a class that derives from ContentPartDriver.
Prepares the Rendering of the Part (extra precaution due to shared header region)
By calling in to all the drivers for all the parts, Orchard is able to build a tree of shapes—a large composite and dynamic view model for the whole request. Its next task is to figure out how to resolve each of the shapes into templates that will be able to render them. It does so by looking at the name of each shape (Parts_Meta_Edit in the case of the Editor method) and attempting to map that to files in well-defined places of the system, such as the current theme’s and the module’s Views folders. This is an important extensibility point because it enables you to override the default rendering of anything in the system by just dropping a file with the right name into your local theme.