Skip to content

Commit c352b2d

Browse files
committed
Added some links and fixed formatting on bcrypt page
1 parent 2af3065 commit c352b2d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

stubbornjava-webapp/ui/src/pages/popular-themes.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Everyone wants a website that is pleasing to look at, responsive on all devices,
1212

1313
You can try to learn all of these skills yourself but it can be very time consuming and you will probably end up with a less than ideal final result. You can use something like [Twitters Bootstrap](http://getbootstrap.com/). Bootstrap is generally easy to learn and quick to get up and running. The main drawback is your site will look very similar to many other sites. Another option would be to hire a freelance designer. If you want a unique website this is one of the best options but comes with a few drawbacks. You need to find the designer, communicate your vision, then hope it turns out well while you wait for the work to be done. Also be prepared to pay a hefty price tag. Depending on your company size, branding and how unique you want to be it could very well be worth the money.
1414

15-
A final option mixes a little bit of all the previous options together. You can learn bootstrap and purchase a theme / skin to make it look much more professional. Sites like [wrapbootstrap](https://wrapbootstrap.com/?ref=stubbornjava) or [themeforest](https://themeforest.net/?ref=StubbornJava) can provide very clean designs at much more affordable pricing. You will still need to do quite a bit of the work yourself but you also learn along the way. Your site will be more unique than Bootstrap but others can still buy it so it's possible to have a site look like someone else's.
15+
A final option mixes a little bit of all the previous options together. You can learn bootstrap and purchase a theme / skin to make it look much more professional. Sites like [wrapbootstrap](https://wrapbootstrap.com/?ref=stubbornjava) or [themeforest](https://themeforest.net/?ref=StubbornJava) can provide very clean designs at much more affordable pricing. You will still need to do quite a bit of the work yourself but you also learn along the way. Your site will be more unique than Bootstrap but others can still buy it so it's possible to have a site look like someone else's. Whether you are building a tech blog such as [StubbornJava](/), a site on [boating gear](https://www.deckhandhq.com), or an ecommerce site featuring [popular characters' merchandise from shows like Moana, Cars, Trolls, or Paw Patrol](https://toon.style) make it look professional with a custom theme.
1616

1717
##Recommendations
1818
* Purchase one or more themes but don't import the whole theme, just use it as inspiration. This allows you to keep the size of the assets smaller as well as switch to SASS or LESS if it's not provided.

stubbornjava-webapp/ui/src/posts/hashing-passwords-in-java-with-bcrypt.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ BCrypt is a one way salted hash function based on the <a href="https://en.wikipe
77
* **Salted hashing** - Generating random bytes (the salt) and combining it with the password before hashing creates unique hashes across each users password. If two users have the same password they will not have the same password hash. This is to prevent [rainbow table](https://en.wikipedia.org/wiki/Rainbow_table) attacks which can reverse hashed passwords using common hashing functions that do not utilize a salt.
88
* **Logarithmic iterations** - The hashing function is executed many times sequentially which can be increased exponentially known as [key stretching](https://en.wikipedia.org/wiki/Key_stretching). This is to make the function CPU intensive which makes it more secure against brute force attacks.
99
* **Updatable iterations** - As CPUs become faster so do brute force attacks. Since BCrypt stores the number of iterations as part of the hash it's possible to verify a password and then increase its strength by generating a new hash with a higher number of iterations.
10+
1011
{{> templates/src/widgets/code/code-snippet file=bcrypt section=bcrypt.sections.UpdatableBCrypt}}
1112

1213

stubbornjava-webapp/ui/src/posts/query-parameters-and-path-parameters-in-undertow.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p>Query Parameters and Path Parameters are also fairly straight forward in Undertow. There is some slight boilerplate because technically query and path params can have multiple values. We are using some helper functions (<a href="https://github.com/StubbornJava/StubbornJava/blob/master/stubbornjava-undertow/src/main/java/com/stubbornjava/undertow/exchange/PathParams.java">PathParameters.java</a> and <a href="https://github.com/StubbornJava/StubbornJava/blob/master/stubbornjava-undertow/src/main/java/com/stubbornjava/undertow/exchange/QueryParams.java">QueryParameters.java</a></p>
22

33
<h2 class="anchored">Path Parameter and Query Parameter RoutingHandler</h2>
4-
<p>Fairly standard path param syntax. Undertow uses {param} you may be used to :param from other frameworks.</p>
4+
<p>Fairly standard path param syntax. Undertow uses {param} you may be used to :param from other frameworks. Path parameters are a great way to have human readable urls which can benefit users and SEO. <a href="https://toon.style">ToonStyle</a>'s URL for the page on <a href="https://toon.style/franchise/kung-fu-panda">Kung Fu Panda Merchandise</a> can be constructed by slugifying the franchise name into the following url <code>/franchise/{franchiseName}</code>. </p>
55
{{> templates/src/widgets/code/code-snippet file=server section=server.sections.routes}}
66

77
<h2 class="anchored">Path Parameter and Query Parameter HttpHandlers</h2>

0 commit comments

Comments
 (0)