Tutorial by Topics: n

Spark 2.0 has been released and contains many enhancements and new features. If you are using Spark 1.6 and now you want to upgrade your application to use Spark 2.0, you have to take into account some changes in the API. Below are some of the changes to the code that need to be made.
This example uses Spring Boot, Spring Data JPA and Spring Data REST to expose a simple JPA-managed domain object via REST. The example responds with the HAL JSON format and exposes a url accessible on /person. The maven configuration includes a H2 in-memory database to support a quick standup. ...
Note that a UserControl is very different from a Control. One of the primary differences is that a UserControl makes use of a XAML layout file to determine where to place several individual Controls. A Control, on the other hand, is just pure code - there's no layout file at all. In some ways, cre...
Starting with v2.1.0, you can create plugins for chart.js! Plugin official documentation
Warning Prepared statement cannot care a wild parameter for the table names. For exemple this following statement is not correct : $query = "SELECT name, city FROM ? WHERE id = ? AND country = ?"; The correct prepared query would be : $query = "SELECT name, city FROM users WHE...
Create your own api with Microsoft SQL database and implemente them in Xamarin forms application.
Calculating row heights might be expensive and scrolling performance can suffer if you have larger amounts of data. In that scenario, override UITableViewSource.EstimatedHeight(UITableView, NSIndexPath) to quickly provide a number sufficient for rapid scrolling, e.g.,: public override nfloat Esti...
Introduction Hooks are pieces of code that Cordova CLI executes at certain points in your Cordova/Ionic application build. Hooks can be used for example to manipulate files in our project, automatically add plugins into your application or as in the example above check for code errors in your f...
Below is the example of how to hard code the google analytics implementation in the website. To track the shopping cart actions let induce the tracking snippet. It look as below. You can track the events in google analytics open source tool ga('send', 'event', [eventCategory], [eventAction], [even...
Note that the /rel folder may not be needed in your .gitignore file. This is generated if you are using a release management tool such as exrm
ParameterDetailsstopCalledThis value tells you how a user disconnected, if its set to true then the user explicitly closed the connection, otherwise they timed out. It's worth noting that at while in these functions you still have access to the Context, therefore you can get the connectionId and ...
ParameterDetailstty:trueIn docker-compose.yml, the tty: true flag keeps the container's sh command running waiting for input. The host and bridge network drivers are able to connect containers on a single docker host. To allow containers to communicate beyond one machine, create an overlay netwo...
AnnotationPurpose@TableGeneratorSpecifies generator name and table name where generator can be found@GeneratedValueSpecifies generation strategy and refers to name of generator@ManyToOneSpecifies many to one relationship between Employee and Department@OneToMany(mappedBy="department")crea...
ColumnColumn@TableGeneratorUses table generator strategy for automatic id creation@GeneratedValueSpecifies that the value applied to fields is a generated value@IdAnnotates the field as identifier@ManyToOneSpecifies Many to One relationship between Employee and Department. This annotation is marked...

Page 197 of 329