Skip to content

Commit 494fada

Browse files
gathogojrJohn Gathogo
andauthored
Structure lists properly by removing invalid elements under ul (#298)
Co-authored-by: John Gathogo <[email protected]>
1 parent 26d4f1f commit 494fada

3 files changed

+47
-25
lines changed

_posts/2014-07-09-trippin-new-odata-v4-sample-service.html

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,33 +25,47 @@ <h2>Model</h2>
2525
<h2>Feature Coverage</h2>
2626
<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>
2727
<ul>
28-
<li><b>Basic entity / complex type and their collections</b></li>
28+
<li><b>Basic entity / complex type and their collections</b>
2929
<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>
3132
<p>For instance, <code>Friends</code> is a navigation property.</p>
32-
<li><b>Singleton</b></li>
33+
</li>
34+
<li><b>Singleton</b>
3335
<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>
3538
<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>
3741
<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>
3944
<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>
4147
<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>
4350
<p>For instance, <code>Location</code> is an open complex type.</p>
44-
<li><b>Containment</b></li>
51+
</li>
52+
<li><b>Containment</b>
4553
<p>For instance, <code>Person</code> contains <code>Trips</code>.</p>
46-
<li><b>Functions and Actions (Bound and Unbound)</b></li>
54+
</li>
55+
<li><b>Functions and Actions (Bound and Unbound)</b>
4756
<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>
4959
<p><code>Gender</code> is an enum property.</p>
50-
<li><b>Spatial Property</b></li>
60+
</li>
61+
<li><b>Spatial Property</b>
5162
<p><code>Loc</code> is a spatial property.</p>
52-
<li><b>Media Entity</b></li>
63+
</li>
64+
<li><b>Media Entity</b>
5365
<p>For instance, <code>Photo</code> is a media entity</p>
54-
<li><b>System query options ($select, $expand, $filter, $top, $skip, $count, $orderby, $search)</b></li>
66+
</li>
67+
<li><b>System query options ($select, $expand, $filter, $top, $skip, $count, $orderby, $search)</b>
68+
</li>
5569
<li><b>Lambda operations (any, all)</b></li>
5670
<li><b>Create, Update, Delete</b></li>
5771
<li><b>Batch</b></li>

_posts/2014-12-25-restier-a-turn-key-framework-to-build-restful-service.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h1>How RESTier Solve Your Problems</h1>
6161
<p> After these 3 steps above, a RESTful service is bootstraped using RESTier.</p>
6262
<p style="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>
6363
<ul>
64-
<li style="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+
<li style="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>
6565
<p> With RESTier, <b>Imperative Views</b> can make this ask work by adding some code in <code>NorthwindDomain.cs</code></p>
6666
{% highlight csharp%}
6767
protected IQueryable<Order> CurrentOrders
@@ -72,23 +72,26 @@ <h1>How RESTier Solve Your Problems</h1>
7272
}
7373
}
7474
{% endhighlight %}
75-
<li style="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+
<li style="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>
7677
<p> With RESTier, <b>Entity Set Filters</b> can make this work by adding some code in <code>NorthwindDomain.cs</code></p>
7778
{% highlight csharp%}
7879
private IQueryable<Customer> OnFilterCustomers(IQueryable<Customer> customers)
7980
{
8081
return customers.Where(c => c.Country == "France");
8182
}
8283
{% endhighlight %}
83-
<li style="font-size:18px;"><i>Customer C says he has some additional logic when he deletes an <code>Product</code></i></li>
84+
</li>
85+
<li style="font-size:18px;"><i>Customer C says he has some additional logic when he deletes an <code>Product</code></i>
8486
<p> With RESTier, <b>Submit Logic</b> can make this work by adding some code in <code>NorthwindDomain.cs</code></p>
8587
{% highlight csharp%}
8688
private void OnDeletingProducts(Product product)
8789
{
8890
// User logic code when deleting a product.
8991
}
9092
{% endhighlight %}
91-
<li style="font-size:18px;"><i>Customer D says he only wants users to have READ permission on <code>Suppliers</code></i></li>
93+
</li>
94+
<li style="font-size:18px;"><i>Customer D says he only wants users to have READ permission on <code>Suppliers</code></i>
9295
<p> With RESTier, <b>Role-based Security</b> can make this work by adding some code in <code>NorthwindDomain.cs</code></p>
9396
{% highlight csharp%}
9497
[EnableRoleBasedSecurity]
@@ -102,7 +105,8 @@ <h1>How RESTier Solve Your Problems</h1>
102105
// code
103106
}
104107
{% endhighlight %}
105-
</ul>
108+
</li>
109+
</ul>
106110
<h1>Behind the Scenes</h1>
107111
<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>
108112
<h2>Structure of RESTier</h2>

_posts/2015-01-15-eclipse-ogee.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,19 @@
1919
<p style="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>
2020
<p style="text-align: justify">More specifically, Ogee allows developers to:</p>
2121
<ul style="text-align: justify">
22-
<li>Model new OData services.</li>
22+
<li>Model new OData services.
2323
<p><a href="/assets/ogee1.png"><img src="/assets/ogee1.png" alt="ogee1" width="523" height="498" class="aligncenter size-full wp-image-12794" /></a></p>
24-
<li>Visualize and explore existing OData services.</li>
25-
<p><a href="/assets/ogee2.png"><img src="/assets/ogee2.png" alt="ogee2" width="519" height="495" class="aligncenter size-full wp-image-12795" /></a><br />
26-
<a href="/assets/ogee3.png"><img src="/assets/ogee3.png" alt="ogee3" width="500" height="350" class="aligncenter size-large wp-image-12796" /></a></p>
27-
<li>Validate the OData model against OData spec.</li>
24+
</li>
25+
<li>Visualize and explore existing OData services.
26+
<p><a href="/assets/ogee2.png"><img src="/assets/ogee2.png" alt="ogee2" width="519" height="495" class="aligncenter size-full wp-image-12795" /></a></p>
27+
<p><a href="/assets/ogee3.png"><img src="/assets/ogee3.png" alt="ogee3" width="500" height="350" class="aligncenter size-large wp-image-12796" /></a></p>
28+
</li>
29+
<li>Validate the OData model against OData spec.
2830
<p><a href="/assets/ogee4.png"><img src="/assets/ogee4.png" alt="ogee4" width="500" height="350" class="aligncenter size-large wp-image-12797" /></a></p>
29-
<li>The OData models can then be exported as service metadata document against the selected OData spec.</li>
31+
</li>
32+
<li>The OData models can then be exported as service metadata document against the selected OData spec.
3033
<p><a href="/assets/ogee5.png"><img src="/assets/ogee5.png" alt="ogee5" width="500" height="350" class="aligncenter size-large wp-image-12798" /></a></p>
34+
</li>
3135
<li>Extend Ogee framework for:
3236
<ul>
3337
<li>Consumption from other environments</li>

0 commit comments

Comments
 (0)