You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2014-07-09-trippin-new-odata-v4-sample-service.html
+28-14Lines changed: 28 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -25,33 +25,47 @@ <h2>Model</h2>
25
25
<h2>Feature Coverage</h2>
26
26
<p>As we mentioned in the introduction part, TripPin tries to cover as many features as possible. Below are the main features we covered in TripPin.</p>
27
27
<ul>
28
-
<li><b>Basic entity / complex type and their collections</b></li>
28
+
<li><b>Basic entity / complex type and their collections</b>
29
29
<p>For instance, <code>Person</code> is an entity and <code>Country</code> is a complex type. <code>People</code> is a collection of entity and <code>AddressInfo</code> is a collection of complex type.</p>
30
-
<li><b>Navigation property</b></li>
30
+
</li>
31
+
<li><b>Navigation property</b>
31
32
<p>For instance, <code>Friends</code> is a navigation property.</p>
32
-
<li><b>Singleton</b></li>
33
+
</li>
34
+
<li><b>Singleton</b>
33
35
<p><code>Me</code> is the Singleton</p>
34
-
<li><b>Collection property of primitive type</b></li>
36
+
</li>
37
+
<li><b>Collection property of primitive type</b>
35
38
<p>For instance, <code>Emails</code> is a collection property of primitive type string.</p>
36
-
<li><b>Derived entity type</b></li>
39
+
</li>
40
+
<li><b>Derived entity type</b>
37
41
<p>For instance, entity type <code>Event</code> derives from <code>PlanItem</code>.</p>
38
-
<li><b>Derived complex type</b></li>
42
+
</li>
43
+
<li><b>Derived complex type</b>
39
44
<p>For instance, complex type <code>EventLocation</code> derives from <code>Location</code></p>
40
-
<li><b>Open entity type</b></li>
45
+
</li>
46
+
<li><b>Open entity type</b>
41
47
<p>For instance, <code>Event</code> is an open entity type.</p>
42
-
<li><b>Open complex type</b></li>
48
+
</li>
49
+
<li><b>Open complex type</b>
43
50
<p>For instance, <code>Location</code> is an open complex type.</p>
<li><b>Functions and Actions (Bound and Unbound)</b></li>
54
+
</li>
55
+
<li><b>Functions and Actions (Bound and Unbound)</b>
47
56
<p>For instance, GetNearestAirport is an unbound function, GetInvolvedPeople is a function bound to <code>Trip</code> and ShareTrip is an action bound to <code>Person</code>.</p>
48
-
<li><b>Enum Property</b></li>
57
+
</li>
58
+
<li><b>Enum Property</b>
49
59
<p><code>Gender</code> is an enum property.</p>
50
-
<li><b>Spatial Property</b></li>
60
+
</li>
61
+
<li><b>Spatial Property</b>
51
62
<p><code>Loc</code> is a spatial property.</p>
52
-
<li><b>Media Entity</b></li>
63
+
</li>
64
+
<li><b>Media Entity</b>
53
65
<p>For instance, <code>Photo</code> is a media entity</p>
Copy file name to clipboardExpand all lines: _posts/2014-12-25-restier-a-turn-key-framework-to-build-restful-service.html
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ <h1>How RESTier Solve Your Problems</h1>
61
61
<p> After these 3 steps above, a RESTful service is bootstraped using RESTier.</p>
62
62
<pstyle="font-size:18px;"><i>With RESTier, Mark has successfully built the RESTful service against his data source. Now he got several asks from customers of adding business logic to this service.</i></p>
63
63
<ul>
64
-
<listyle="font-size:18px;"><i>Customer A says besides the current <code>Orders</code>, he also wants an entity set <code>CurrentOrders</code> which haven't been shipped yet.</i></li>
64
+
<listyle="font-size:18px;"><i>Customer A says besides the current <code>Orders</code>, he also wants an entity set <code>CurrentOrders</code> which haven't been shipped yet.</i>
65
65
<p> With RESTier, <b>Imperative Views</b> can make this ask work by adding some code in <code>NorthwindDomain.cs</code></p>
66
66
{% highlight csharp%}
67
67
protected IQueryable<Order> CurrentOrders
@@ -72,23 +72,26 @@ <h1>How RESTier Solve Your Problems</h1>
72
72
}
73
73
}
74
74
{% endhighlight %}
75
-
<listyle="font-size:18px;"><i>Customer B says he only cares <code>Customers</code> from France and he doesn't want to add a $filter query for every request.</i></li>
75
+
</li>
76
+
<listyle="font-size:18px;"><i>Customer B says he only cares <code>Customers</code> from France and he doesn't want to add a $filter query for every request.</i>
76
77
<p> With RESTier, <b>Entity Set Filters</b> can make this work by adding some code in <code>NorthwindDomain.cs</code></p>
<listyle="font-size:18px;"><i>Customer C says he has some additional logic when he deletes an <code>Product</code></i></li>
84
+
</li>
85
+
<listyle="font-size:18px;"><i>Customer C says he has some additional logic when he deletes an <code>Product</code></i>
84
86
<p> With RESTier, <b>Submit Logic</b> can make this work by adding some code in <code>NorthwindDomain.cs</code></p>
85
87
{% highlight csharp%}
86
88
private void OnDeletingProducts(Product product)
87
89
{
88
90
// User logic code when deleting a product.
89
91
}
90
92
{% endhighlight %}
91
-
<listyle="font-size:18px;"><i>Customer D says he only wants users to have READ permission on <code>Suppliers</code></i></li>
93
+
</li>
94
+
<listyle="font-size:18px;"><i>Customer D says he only wants users to have READ permission on <code>Suppliers</code></i>
92
95
<p> With RESTier, <b>Role-based Security</b> can make this work by adding some code in <code>NorthwindDomain.cs</code></p>
93
96
{% highlight csharp%}
94
97
[EnableRoleBasedSecurity]
@@ -102,7 +105,8 @@ <h1>How RESTier Solve Your Problems</h1>
102
105
// code
103
106
}
104
107
{% endhighlight %}
105
-
</ul>
108
+
</li>
109
+
</ul>
106
110
<h1>Behind the Scenes</h1>
107
111
<p> After the previous section of introducting how RESTier help solve your problems, now let's take a deeper look at RESTier itself. And please be noted that RESTier is currently an alpha version, so there are still some limitions.</p>
Copy file name to clipboardExpand all lines: _posts/2015-01-15-eclipse-ogee.html
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -19,15 +19,19 @@
19
19
<pstyle="text-align: justify">Ogee lowers the barrier for developers who want to produce and consume data, by bringing the OData advantages to the fingertips of Eclipse developers. It enables the community to contribute to this project by: extending our contribution with more provider environments, more consumption environments, ensuring interoperability across various industry standards, and promoting OData by easing the development process.</p>
0 commit comments