Tag Archives: XML

Storyboard Code Generator (for Swift)


via krzyzanowskim/Natalie · GitHub.

Script generate Swift code based on storyboard files to make work with Storyboards and segues easier. Generated file reduce usage of Strings as identifiers for Segues or Storyboards.

This is a proof of concept to address the String issue for strongly typed Swift language. Natalie is a Swift script (written in Swift) that produces a single .swift file with a bunch of extensions to project classes along the generated Storyboard enum.

Since Natalie is a Swift script, that means it is written in Swift and requires Swift to run. The project uses SWXMLHash as a dependency to parse XML and due to framework limitations all code is in a single file.

How to read XML data in SQL?


How to read XML data in SQL? Hello friends, in this article I am going to explain how to read xml data in SQL? In my previous article I explained you what are the differences between hash table and dictionary in C#? To see more about modes in asp.net please visits my previous article. Let’s […]

https://dwivediankitblog.wordpress.com/2015/09/17/104/

Hibernate Criteria Example


via Hibernate Criteria Example | Examples Java Code Geeks.

Hibernate Criteria is a very good interface offered by Hibernate that helps you write queries with comples search criteteria an keep your code readable and elegant.

So these are the tools we are going to use on a Windows 7 platform:

  • JDK 1.7
  • Maven 3.0.5
  • Hibernate 3.6.3.Final
  • MySQL JDBC driver 5.1.9
  • Eclipse 4.2 Juno

The basis of this tutorials is going to be this Eclipse project: Hibernate1to1XMLExample,zip. And it’s based in Hibernate One-to-One Relationship Example (XML Mapping and Annotation). All the code snippets displayed here reffer to App.java file of the aforementioned project. It’s also a good idea to take a look at Hibernate Query Language Example.

JQuery AJAX Example


via jQuery AJAX Example | Web Code Geeks.

The aim of this example is to give you a full understanding of AJAX, which stands for Asynchronous Javascript and XML. Ajax is not a programming language or a tool, but a concept.

Ajax is a client-side script that communicates to and from a server/database without the need for a postback or a complete page refresh.

The best definition for Ajax would be “the method of exchanging data with a server, and updating parts of a web page – without reloading the entire page.”

Ajax itself is mostly a generic term for various JavaScript techniques used to connect to a web server dynamically without necessarily loading multiple pages. In a more narrowly-defined sense, it refers to the use of XmlHttpRequest objects to interact with a web server dynamically via JS.

LIQUIBASE WITHOUT CHANGELOGS


via Liquibase Without Changelogs.

Early on, Liquibase only supported XML changelogs with each changeSet listed in it. There are many advantages to using that setup, but there are now many different ways to store your database changes.

One way to manage your changes is to store them in individual SQL files.  Some people prefer this setup because it is similar to other tools they have used, because they find SQL more natural to work with than XML, or they prefer to work with smaller files in a directory than changeSets stored in a large file. It is also helpful when migrating to Liquibase from an older system that manages changes as individual files.

Creating Online Event Calendar with dhtmlxScheduler


via Creating Online Event Calendar with dhtmlxScheduler.

dhtmxScheduler is a JavaScript tool that allows you to create your own online event calendar. In this article we’ll try to create an application of such a kind and then add some extra features to it. There are several ways of data loading among which you can choose. With dhtmlxScheduler, you can use three formats: JSON, XML and iCal. You can use either an inline object or a file as a source of data. Moreover, there’s a possibility to use a database. If you prefer this opportunity, you should have a web server (e.g. Apache or nginx) with PHP and MySQL running. We’ll take a look at both inline object and database options, so you’ll be able to choose which one you want to try.

Before getting started, you should download the scheduler package and extract the codebase folder within the working directory. It can be a regular folder if you want to test this scheduler using inline data or a local web server folder in case you want to try using a database.

How to generate different sql scripts through pom.xml


In this post, we will see how to generate different sql scripts using our pom.xml from maven project with a little help from hibernate.

https://howaboutcoding.wordpress.com/2015/08/31/generate-sql-scripts/