Thymeleaf

with

Spring

MVC

rapid

introduction

to

the

essentials

Tom

Gardiner

Apr

Thymeleaf

has

quickly

become

the

defacto

serverside

HTML

template

engine

for

Spring

MVC

It

has

a

wealth

of

features

extensions

bells

and

whistles

However

to

get

started

you

only

really

need

to

know

a

few

bits

and

pieces

I

will

provide

a

rapid

introduction

to

those

here

Adding

Thymeleaf

to

your

project

Note

I

assume

you

are

using

Spring

Boot

with

Gradle

as

your

build

tool

If

you

are

not

you

may

need

to

perform

a

few

additional

steps

but

the

key

takeaways

here

will

still

apply

Adding

Thymeleaf

is

as

simple

as

adding

it

to

your

buildgradle

file

and

for

the

purpose

of

demonstrating

functionality

we

will

also

add

the

Twitter

Bootstrap

webjar

UPDATE

The

layout

dialect

was

already

included

as

part

of

the

Thymeleaf

starter

pack

in

Spring

Boot

but

has

been

removed

in

Spring

Boot

So

if

youre

using

Spring

Boot

you

will

need

an

additional

config

step

Click

here

for

details

Great

You

now

have

Thymeleaf

as

your

serverside

HTML

template

engine

Lets

get

started

Thymeleaf

automatically

picks

up

your

template

files

from

your

resourcestemplates

directory

so

make

sure

to

put

all

your

templates

in

here

Just

name

them

whateverhtml

Thymeleaf

templates

are

also

valid

html

files

You

will

want

to

turn

off

the

Thymeleaf

cache

during

development

as

otherwise

you

will

regularly

be

looking

at

stale

versions

of

the

templates

This

can

easily

be

configured

in

your

applicationproperties

file

springthymeleafcachefalse

Creating

a

default

layout

template

Well

start

by

creating

a

default

layout

template

that

will

provide

a

standard

structure

for

all

our

pages

This

is

often

good

practice

as

it

means

we

dont

have

to

redefine

the

boilerplate

layout

again

and

again

in

each

new

page

we

create

We

just

focus

on

the

content

that

is

unique

to

that

page

This

default

layout

template

will

import

all

the

standard

CSS

and

javascript

resources

that

we

always

want

access

to

and

if

this

set

changes

in

the

future

eg

we

want

to

add

google

analytics

code

to

every

page

we

only

have

to

add

it

in

one

place

We

will

name

our

default

layout

template

defaulthtml

and

add

it

to

our

resourcestemplates

directory

Here

is

its

content

DOCTYPE

html

html

langen

xmlns

th

httpwwwthymeleaforg

xmlns

layout

httpwwwultraqnetnzthymeleaflayout

head

meta

titleDefault

title

for

my

pagestitle

link

relstylesheet

href

webjars

link

relstylesheet

href

webjars

head

body

div

class

container

div

class

row

div

class

div

div

class

layout

fragment

content

Page

content

goes

here

div

div

class

div

div

div

script

src

webjars

script

src

webjars

thblock

layout

fragment

scripts

thblock

body

html

As

you

can

see

from

the

content

of

our

body

tag

we

have

used

bootstrap

to

define

a

very

basic

structure

for

our

website

made

up

of

columns

where

only

the

middle

column

contains

any

content

This

gives

us

a

basic

centred

look

with

space

left

and

right

of

our

content

A

few

things

you

should

notice

The

Thymeleaf

namespaces

th

and

layout

have

been

defined

at

the

top

of

the

template

These

are

important

as

we

will

be

using

them

throughout

We

have

given

the

page

a

default

title

Default

title

for

my

pages

This

isnt

actually

necessary

as

long

as

you

override

it

in

all

your

pages

but

having

one

here

can

be

useful

in

case

many

of

your

pages

want

to

use

the

default

title

By

including

Twitter

Bootstrap

in

our

gradle

file

earlier

the

bootstrap

resources

are

automatically

made

available

in

the

webjars

folder

We

then

include

them

here

so

that

they

are

available

in

all

our

pages

At

the

bottom

of

the

page

we

have

included

our

javascript

files

The

first

two

are

the

bootstrap

and

jquery

both

in

the

webjars

folder

The

third

is

a

fragment

for

our

own

needs

We

will

use

this

later

to

add

custom

javascript

files

to

our

pages

Finally

notice

that

the

middle

column

in

our

layout

is

also

a

fragment

called

content

This

is

the

fragment

we

will

provide

the

content

for

in

each

of

our

pages

in

order

to

populate

that

middle

column

with

unique

content

for

that

page

Hello

World

page

Right

were

ready

to

create

our

first

page

Lets

call

it

hellohtml

and

again

put

it

in

the

resourcestemplates

directory

It

will

look

as

follows

DOCTYPE

html

html

langen

xmlnsthhttpwwwthymeleaforg

xmlnslayouthttpwwwultraqnetnzthymeleaflayout

layout

decorator

default

head

titleHello

world

pagetitle

link

relstylesheet

href

csshellocss

head

body

div

layoutfragment

content

div

body

thblock

layoutfragment

scripts

script

src

jshellojs

script

thblock

html

The

first

thing

you

will

probably

observe

is

that

even

though

we

have

already

added

the

html

head

and

body

tags

in

our

defaulthtml

template

we

add

them

again

here

This

is

a

feature

of

Thymeleaf

it

is

designed

so

that

every

individual

template

is

actually

perfectly

renderable

by

itself

This

is

so

that

any

clientside

developerdesigner

can

take

any

page

and

just

editopen

them

in

their

browser

without

needing

a

running

server

Very

useful

for

teams

The

key

things

to

notice

from

this

example

Near

the

top

we

have

have

specified

that

our

decorator

default

layout

template

is

the

defaulthtml

template

This

will

tell

the

Thymeleaf

rendering

engine

to

use

our

defaulthtml

template

to

decorate

this

page

when

run

on

the

server

We

have

overridden

the

page

title

by

adding

it

to

the

HEAD

tag

We

have

added

an

additional

css

file

to

our

page

csshellocss

Note

this

will

not

replace

the

css

files

included

in

defaulthtml

but

just

add

to

them

We

have

defined

the

content

fragment

declared

in

our

defaulthtml

template

by

adding

a

Hello

World

element

This

is

the

content

that

will

be

displayed

in

the

central

column

of

our

pages

content

And

at

the

bottom

of

the

page

we

have

added

an

additional

js

file

We

could

also

have

added

this

to

our

HEAD

element

but

the

problem

is

that

if

our

javascript

file

wanted

access

to

for

example

jquery

then

it

would

fail

as

jquery

isnt

defined

until

the

end

of

the

page

By

adding

it

to

this

fragment

our

javascript

file

jshellojs

is

the

last

file

to

be

evaluated

by

the

browser

after

jquery

and

bootstrap

are

initialised

Good

stuff

we

now

have

a

standard

template

for

all

our

pages

as

well

as

a

hello

world

example

that

uses

it

But

how

do

we

test

it

Well

we

still

have

a

few

more

steps

to

go

Firstly

the

hellocss

and

hellojs

files

that

were

referencing

need

to

be

put

somewhere

and

secondly

we

need

a

controller

to

render

the

page

Lets

do

those

steps

now

Static

assets

The

static

assets

simply

go

in

the

resourcesstatic

directory

next

to

the

resourcestemplates

directory

As

the

focus

of

this

blog

post

is

HTML

templates

rather

than

CSSJS

this

is

the

last

mention

Ill

make

to

any

cssjs

files

Basically

by

adding

your

css

and

js

files

to

the

directories

shown

above

Spring

MVC

will

automatically

make

them

available

at

csscss

and

jsjs

respectively

Hello

World

Controller

The

final

thing

we

need

is

a

controller

to

render

the

template

Spring

MVC

makes

it

very

simple

to

make

controllers

Controller

public

class

HelloController

RequestMapping

hello

public

String

hello

return

hello

Only

two

things

you

need

to

notice

The

controller

maps

requests

for

hello

to

this

page

so

if

run

locally

the

page

will

be

available

at

The

controller

returns

hello

which

means

render

the

hellohtml

template

Thymeleaf

knows

to

find

this

in

the

resourcestemplates

directory

And

thats

it

Hello

world

working

Start

up

your

Spring

MVC

server

and

direct

your

browser

to

You

will

see

that

the

following

page

content

will

be

rendered

DOCTYPE

html

html

langen

head

titleHello

world

pagetitle

meta

link

relstylesheet

link

relstylesheet

link

relstylesheet

href

csshellocss

head

body

div

classcontainer

div

classrow

div

div

div

div

div

div

script

script

script

src

jshellojs

script

body

html

Notice

how

the

content

of

defaulthtml

and

hellohtml

have

been

merged

together

as

expected

Injecting

model

parameters

Next

lets

inject

in

some

content

from

the

server

Update

your

controller

to

be

as

follows

RequestMappinghello

public

String

hello

Model

model

modeladdAttributename

Tom

modeladdAttributeformatted

bblueb

return

hello

and

update

the

content

fragment

in

your

hellohtml

file

to

be

the

following

div

layoutfragmentcontent

span

thtextHello

name

did

you

know

that

span

thutextformatted

is

span

thtextformatted

in

HTML

div

Here

we

have

provided

two

attributes

to

our

model

name

and

formatted

and

have

rendered

them

as

part

of

our

content

The

end

result

will

look

something

like

this

We

have

applied

a

number

of

techniques

here

the

first

is

thtext

which

tells

Thymeleaf

replace

the

content

of

this

element

with

the

value

in

quotes

the

second

is

syntax

eg

thtextformatted

This

allows

us

to

take

model

attributes

and

place

them

directly

into

our

content

The

third

is

syntax

eg

thtextHello

name

This

allows

us

to

do

String

interpolation

whereby

model

variables

are

placed

inside

normal

text

This

contrasts

with

thtextformatted

where

we

just

use

the

value

of

the

model

attribute

no

string

interpolation

The

fourth

is

thutext

which

tells

Thymeleaf

do

not

escape

the

text

being

injected

ie

Unescaped

Text

hence

why

blue

is

actually

made

bold

above

Thats

the

basic

principle

for

injecting

model

parameters

into

Thymeleaf

templates

Next

well

look

at

something

a

little

more

powerful

Dynamic

listsrows

of

content

Often

youll

have

a

list

or

array

of

items

that

you

want

to

render

on

your

page

Thymeleaf

makes

this

easy

First

lets

update

our

HelloController

to

contain

a

list

of

items

Controller

public

class

HelloController

RequestMappinghello

public

String

helloModel

model

DeveloperResource

devResources

new

DeveloperResourceGoogle

httpwwwgooglecom

new

DeveloperResourceStackoverflow

httpwwwstackoverflowcom

new

modeladdAttribute

resources

devResources

return

hello

public

static

final

class

DeveloperResource

private

final

String

name

private

final

String

url

public

DeveloperResourceString

name

String

url

thisname

name

thisurl

url

public

String

getName

return

name

public

String

getUrl

return

url

Now

update

our

hellohtml

template

to

render

this

list

div

layoutfragmentcontent

div

classlistgroup

a

theachresource

resources

thhrefresourceurl

classlistgroupitem

b

thtext

resourcename

b

a

div

div

Loading

this

in

your

browser

the

rendered

html

will

look

like

this

div

classlistgroup

a

classlistgroupitem

href

httpwwwgooglecom

b

Google

b

a

a

classlistgroupitem

href

httpwwwstackoverflowcom

b

Stackoverflow

b

a

a

classlistgroupitem

href

b

b

a

div

and

the

visual

result

will

actually

look

like

this

Great

exactly

what

we

wanted

But

how

did

that

work

Lets

look

at

the

hellohtml

template

again

quickly

div

layoutfragmentcontent

div

class

listgroup

a

theach

resource

resources

thhref

resourceurl

class

listgroupitem

b

thtext

resourcename

b

a

div

div

The

listgroup

and

listgroupitem

classes

are

just

Twitter

Bootstrap

classes

that

give

us

the

look

and

feel

that

we

see

above

The

real

Thymeleaf

magic

comes

from

theach

This

loops

through

each

item

in

the

resources

model

attribute

works

with

any

java

Iterable

creating

a

Thymeleaf

variable

called

resource

to

represent

each

item

We

then

see

the

use

of

another

important

Thymeleaf

attribute

thhref

This

is

used

to

set

the

href

attribute

on

the

given

anchor

element

a

hrefa

Note

that

there

are

matching

Thymeleaf

attributes

for

pretty

much

every

possible

HTML

tag

attribute

that

you

would

want

to

set

The

final

thing

to

notice

is

the

use

of

Thymeleafs

OGNL

Object

Graph

Notation

Language

It

is

basically

a

dotnotation

syntax

that

allows

access

to

properties

within

java

objects

via

getters

Here

you

can

see

we

have

used

resourceurl

to

access

the

getUrl

property

of

our

DeveloperResource

object

and

resourcename

to

access

getName

Note

this

also

works

to

multiple

levels

of

nesting

eg

resourcenameclasssimpleName

as

long

as

the

fields

are

all

accessible

via

getters

Conditionals

What

if

we

want

a

certain

HTML

elementblock

to

only

be

rendered

under

certain

conditions

Lets

extend

our

existing

hellohtml

template

to

include

such

a

scenario

Add

to

the

beginning

of

our

content

block

the

following

line

span

thifresourcessize

No

resources

foundspan

Suddenly

we

have

a

useful

informational

message

that

appears

if

our

resources

model

attribute

is

empty

If

and

only

if

the

resources

array

has

size

the

No

resources

found

span

element

will

be

rendered

in

the

HTML

Forms

We

often

want

to

use

forms

to

submit

data

to

our

server

In

order

to

reuse

templates

for

different

scenarios

it

can

be

very

useful

to

be

able

to

specify

the

action

property

of

a

form

from

the

server

You

have

probably

already

guessed

how

this

is

done

div

layoutfragmentcontent

form

thmethodPOST

thactionaction

div

classformgroup

labelNamelabel

input

classformcontrol

namename

div

button

typesubmit

classbtn

btndefaultSubmitbutton

form

div

As

expected

we

just

use

a

thaction

attribute

instead

of

a

normal

action

attribute

What

youll

also

notice

however

is

that

weve

used

a

thmethod

attribute

to

specify

the

form

method

too

div

layoutfragmentcontent

form

thmethodPOST

thactionaction

div

classformgroup

labelNamelabel

input

classformcontrol

namename

div

button

typesubmit

classbtn

btndefaultSubmitbutton

form

div

Given

that

were

not

using

a

model

attribute

for

this

field

why

bother

using

the

Thymeleaf

syntax

Well

Thymeleaf

also

automatically

provides

the

very

useful

functionality

of

adding

CSRF

tokens

to

our

forms

out

of

the

box

but

only

if

we

set

the

action

and

method

attributes

using

thaction

and

thmethod

respectively

This

is

important

because

if

you

are

using

Spring

Security

then

your

server

will

be

CSRF

protected

as

it

should

and

any

POSTPUTDELETE

requests

will

automatically

fail

unless

they

come

with

a

CSRF

token

Simply

by

setting

the

method

and

action

attributes

on

your

form

using

Thymeleaf

thmethod

and

thaction

you

will

automatically

get

CSRF

tokens

injected

into

your

forms

The

resulting

rendered

html

for

the

above

form

will

look

as

follows

form

methodPOST

actionmyaction

div

classformgroup

labelNamelabel

input

classformcontrol

namename

div

button

typesubmit

classbtn

btndefaultSubmitbutton

input

typehidden

form

As

you

can

see

Thymeleaf

has

automatically

added

the

CSRF

token

to

the

bottom

of

the

form

for

you

Nice

Summary

There

is

a

lot

more

to

Thymeleaf

than

this

covered

in

great

detail

here

but

there

should

be

enough

here

to

get

you

started

In

summary

Adding

Thymeleaf

to

your

Spring

Boot

MVC

project

is

easy

Remember

to

turn

off

the

Thymeleaf

cache

during

development

springthymeleafcachefalse

layoutdecorator

and

layoutfragment

can

be

used

for

code

reuse

in

all

your

templates

thtext

and

thutext

replaces

the

content

of

HTML

tags

with

serverside

content

name

and

Hello

name

inject

model

parameters

and

Stringinterpolated

model

parameters

into

your

templates

respectively

theach

will

loop

over

Java

iterables

and

generate

content

for

each

item

Thymeleaf

provides

custom

attributes

eg

thhref

for

almost

every

standard

HTML

attribute

more

details

here

Thymeleafs

OGNL

lets

you

access

nested

properties

of

your

model

parameters

eg

resourcenameclasssimpleName

via

getters

thif

will

only

render

a

given

HTML

element

if

the

value

of

its

expression

is

true

And

always

use

thmethod

and

thaction

when

creating

forms

so

that

you

get

CSRF

protection

out

of

the

box

Any

questionscommentsfeedback

very

welcome

O O B I O O O O O O O O O O O O O O O O O O O O O B I O O O O O O O B O B O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


The Hermetic Revival 7 Ancient Principles For SelfMastery Colton Swabb Feb 26 2018 The universe runs on natural laws Apples fall Birds fly We live We die When we take the time to understand these laws we can use them We can leverage them We can push against gravity to fly We can use the knowledge one day we must die to live better lives And since the very beginning of civilization the wisest of us have been united by this pursuit of discovering what these natural laws are so we can learn from them and use them to experience more happiness meaning and control over our lives in the time we do have These days this pursuit manifests as the top shelf of the selfhelp and personal growth sections at the bookstore But nearly 2000 years ago when these themes and ideas would get you killed for heresy and blasphemy they were discussed in whispered tones and passed down only from a master to their student in moments extreme trust However through effort of preservation and excavation we are able to get look into our philosophical past and a oncegreat tradition which lead to an overall greater understanding of the universe our place in it and catalyzed the Italian creative renaissance influenced the American revolutionaries and now shows up in much of modern day personal growth media This tradition is Hermeticism What Is Hermeticism The hermetic tradition represents a nonChristian lineage of Gnosticism which is the name for a variety of ancient religious ideas and systems dating back to the 1st and 2nd centuries AD The surviving writings of Hermeticism are known as the Corpus Hermetica which is composed of a series of letters from a master Hermes Trismegistus wherein he tries to enlighten his disciple These letters were lost to the western world after classical times but survived in the Byzantine libraries In the Fifteenth century the letters were rediscovered and translated into Latin by the court of Cosimo de Medici yes grandfather to Lorenzo de Medici the patron of Leonardo Da Vinci and several other renaissance artists These letters were so influential during the time that they acted as a catalyst in the development of Italian Renaissance thought and culture Leonardo Da Vinci SelfPortrait Inspired by this wave of innovation these timeless principles were resurrected again by the Freemasons and showed up in the teachings of the American revolutionaries But why is this philosophy so influential Being a Gnostic tradition Hermeticism is a school of ideas and systems that focuses on the pursuit of Gnosis meaning the pursuit of empirical knowledge pertaining to spiritual mysteries You see in a historical world where all major religions had gatekeepers to the spiritual experience the Gnostics and later Hermeticists rebelled in thought They took the pursuit of the mystical experience into their own hands and developed a way of thinking about the world that helped them communicate with and directly experience what they call a more visionary reality Which begs the question what kind of man was Hermes Trismegistus and what made him so widely influential Who is Hermes Trismegistus HERMES MERCURIUS TRISMEGISTUS Master of all arts and sciences perfect in all crafts Ruler of the Three Worlds Scribe of the Gods and Keeper of the Books of Life Thoth Hermes Trismegistus the Three Times Greatest the First Intelligencer was regarded by the ancient Egyptians as the embodiment of the Universal Mind While in all probability there actually existed a great sage and educator by the name of Hermes it is impossible to extricate the historical man from the mass of legendary accounts which attempt to identify him with the Cosmic Principle of Thought Manly P Hall The Secret Teachings of All Ages Hermes Trismegistus is the purported author of both the Emerald Tablet and the Corpus Hermeticum and one of those characters in history that blend the mythical with the actual Hermes Trismegistus is the author who represents a combination of the Egyptian God Thoth and the Greek God Hermes who were both gods of writing and magic in their respective cultures Hermes was credited with tens of thousands of highly esteemed writings from both Egypt and Greece suggesting a shared cultural tradition between the two in the man And while the Italian Renaissance believed Hermes to be an Egyptian Priest it is possible the Corpus Hermetica was actually written by a collective unknown authors who were Platonistic and Stoic Greeks All that can be said for sure is that the 7 Hermetic Laws shared in the Corpus Hermetic have been found in part in the Nag Hammadhi library in 4th century Egypt AD and even in the Emerald Tablets of Thoth proving a common thread of some sort Whether Hermes actually existed was in fact both the Greek God Hermes and the Egyptian God Thoth and represented a shared a cultural link between Ancient Greece and Egypt there is no way to know Especially since practicing sincerely the following teachings of the three times great mystic what it means to actually exist will change What we can be certain of is that these principles of Hermeticism held immense value for these ancient cultures whoever their author may be And whenever they resurface in culture they act as a catalyst to creative renaissance revolutions and cultural regeneration These 7 Laws are some of the oldest and most influential systems of thinking which will expand horizons broaden possibilities and aid one in the pursuit of fuller happier more meaningful and longer life as much today as they ever have While reading these principles remember that they were written thousands of years ago before any modern science verified their unusually accurate and esoteric claims The 7 Hermetic Principles for SelfMastery 1 The Principle of Mentalism The All is mind The Universe is Mental This first principle embodies the truth that All is Mind Meaning the Universe itself at an underlying and foundational level is Mental That all phenomena of life matter and energy of the material universe are thoughts of an infinite and universal living Mind Which means all things share a connection in the fact they exist within the Mind of THE ALL as it is put and therefore are all subject to the laws of created things This Mental Universe for the sake of experiment could be explained as an infinite intelligence intelligent field and even the nature of consciousness itself The Principle of Mentalism explains the nature of energy power and matter as being subordinate to the Mind as it shows up within ourselves and the pervading nature of all things When you view everything you think and therefore do as an interaction of thought with thought you develop an understanding of the first principle of Mentalism which allows you to grasp the the laws of the Mental Universe being the 7 Hermetic Principles and apply them to your wellbeing and personal advancement Like using the knowledge of the Principle of Polarity which is the fourth Hermetic principle to understand that love and hate are the same intensity of emotion varying only in degree And through the power of the mind can be transferred from one degree to another by the In Hermeticism there are many descriptions of different planes levels or dimenions of existence that overlay atop one another They are usually depicted as layers of a concentric circle where the innerlayers are more foundational and influence the outer layers In Hermeticism there are three Great Planes the mental plane physical plane and spiritual plane Which have varying lesserplanes between them that differ in degrees between undifferentiated matter and spirit From a first person perspective the mental plane is experienced simply as thought insight intuition and reason But wisdom of how this plane corresponds with other unseen or causal planes tells us that there may be more to our thoughts than we perceive That our thoughts are not tied simply to the physical plane and have an effect on an energetic and spiritual level which is less obvious but still very real The different planes influencing the physical plane visualized This principle is what allows the student to apply their mental faculty to leverage all other laws almost perceiving thought as the operating system that allows us to interface with other layers of being To anticipate other natural and energetic laws and cause them to occur in ways that benefit us Making a science of all phenomena of the universe because all other planes still exist within the realm of a Mental Universe and therefore can be reasoned with Through this principle David can take down Goliath man can explore the Moon and we can reason with all phenomena of 2 The Principle of Correspondence As above so below as below so above As within so without as without so within This principle embodies the truth that there is always a correspondence between the laws and phenomena of various planes that manifest as being and life Grasping this principle is what allows one to deduce the hidden solutions to problems by looking at what exists a layer above and below the problem to infer the pattern and shadow nature of what is inbetween Of course there are planes and phenomena beyond our knowing as we are limited to the spectrums of visible light and audible sound but by witnessing the patterns that do exist in our dimension we can deduce what may exist in higher and lower ones Just as the knowledge of Geometry allows one to measure the cosmos and map its movements as a dance of spheres and spirals Observing the Principle of Correspondence we can come to know the whole of the Universe by exploring the higher and lower nature of things which surround the mystery And likewise discover more of ourselves by experiencing and studying the world we are integrally a part of through the pursuit of Gnosis The micro is in the macro and vice versa 3 The Principle of Vibration Nothing rests Everything moves Everything vibrates This principle embodies the truths that nothing rests everything is in motion and everything vibrates It explains that matter energy and even spirit are simply varying rates of vibration A classic example of this being frequency in which the seven octaves of music tuned up 44 octaves miraculously becomes the spectrum of visible light passing through states of being the buzz pitch of insects ultrasound plasma ether hyper sound and even octaves of heat While they change manifestation the vibrations maintain the same correspondence the difference being only in measurement and energy as frequencies slide up the electromagnetic spectrum At the highest rates of vibration the rate and intensity are so rapid it appears to be motionless like a spinning wheel appearing stable And at the lowest levels of vibration objects move so slowly they appear to be totally at rest Between these two exist infinite manifestations all occurring at varying octaves of vibration each with their own phenomena Knowing this Hermeticists believe that even thoughts have their own rate of vibration and can be controlled like tuning an instrument to produce various results for the aim of self and environment mastery As your understanding of vibration frequency harmony and resonance increase so too shall your power over yourself and your world 4 The Principle of Polarity Everything is dual Everything has poles Everything has its pair of opposites Like and unlike are the same Opposites are identical in nature but different in degree Extremes meet All truths are but halftruths All paradoxes may be reconciled The fourth principle embodies the truth that everything has its pair of opposites everything has two poles and exists in a state of duality But the true nature of this principle is that opposites are the same only varying in degree It explains that there are two poles in everything and that opposites are really only two extremes of the same thing the difference being only in degree An obvious example being hot and cold both being temperature varying only in degree And that there is no clear crossover moment when hot stops being hot and starts being cold and vice versa with no absolutes on either end The same can be said of light and darkness hard and soft big or small and even love and hate With love and hate there is no clear point where one emotion becomes This principle is important to Hermeticists because it suggests we can change the polarity of a degree of emotion by recognizing it is the same and choosing the degree which best suits our needs Similar to how we can involuntary and rapid transitions in our psyche between love and hate like and dislike you can choose to experience these transitions by use of your willpower for the betterment of your life and others That the difference is not a hurdle to be surmounted but two expressions of the same thing differing only in degree to choose between This practice is the art of Mental Alchemy 5 The Principle of Rhythm Everything flows out and in Everything has its tides All things rise and fall The pendulum swing manifests in everything The measure of the swing to the right is the measure of the swing to the left Rhythm compensates Between the opposite poles of the principle of Polarity is the pendulum swing of The principle of Rhythm This principle embodies the truth that everything exists in a measured motion from here to there moving in and out swinging backward and forward the rise and fall of the tides ebbing and flowing and never truly sitting still Never stopping always changing This principle controls the cycle of life and death creation and destruction rise and fall and of course manifests in our mental states When you are in tune with the Principle of Rhythm and understand that every mental state exists in Rhythm always ebbing and flowing you can learn to use this principle to your advantage by polarizing yourself to the degree you desire Then through awareness of this principle and how it manifests holding yourself there to keep the pendulum from swinging you backwards to its extreme Imagine going to an event that you know holds a lot of emotional significance for you and checking in with yourself there Knowing you are experiencing a high and that this state is unsustainable you can slot in time for transition to keep yourself from crashing knowing the Principle of Rhythm is affecting or will affect you Likewise with times of stress and grief giving yourself time to return to neutral before ramping back up again Know that things you lose will come back and that things you own now will disappear later Being able to appropriate these smooth transitions can be the difference between days of recovery mentally physically and emotionally and smooth grace periods between times of intensity Knowing when to retreat and when to return is one of the many keys to self mastery Through heightened awareness gained by understanding this principle you can experience transcendental states of consciousness to rise above the swing of the pendulum Rhythm will have an effect on you one way or another but with awareness you can use it to propel you forward and ride it back to recovery All people who experience selfmastery do this to some degree but those who exert their will upon this principle are able to act from a place of purpose as opposed to letting the pendulum swing them into reactivity 6 The Principle of Cause Effect Every cause has its effect Every effect has its cause Everything happens according to law Chance is but a name for law not recognized There are many planes of causation but nothing escapes the law This principle embodies the fact that there is a Cause for every Effect and an Effect for every Cause Meaning that nothing merely happens for no reason and that there is no such thing as chance In harmony with the principle of Correspondence there are higher planes dominating lower planes and nothing escapes the Principle of Cause Effect Nothing happens without explanation The empowering use of this principle is to make the conscious choice to rise above the plane of thought you currently occupy to become your own Cause and not just an Effect of others and the situations you find yourself in That is to say be your own first mover as opposed to someone who merely reacts to circumstance I know I am out of alignment with this principle when I find myself feeling reactive stressed and frazzled waking up only to handle and deal with the things that come my way Instead of going out of my own way So I know that if I want to be a better writer I clearly need to write each day and read more often As opposed to not and resigning myself to merely reacting to the consequences of not having done the work and experiencing the problems that inevitably arise when you are not pursuing your highest calling Of course when you are on the quest to become someone who has mastery over their self and can control their moods character and the environment around them you will naturally have to obey the causation of higher planes in accordance to this principle But the important distinction is that having awareness of this will give you the ability to rule on your own plane without resigning to the roles of the dunce or victim 7 The Principle of Gender Gender is in everything Everything has its masculine and feminine principles Gender manifests on all planes Painting Credit Android Jones This principle embodies the fact that both the masculine and feminine exist in all things Not just in sex but in the creative nature of all things on all planes In harmony with the principle of Correspondence this means that the masculine and feminine exist not only in the physical plane but also the mental and the spiritual as well The principle of Gender plays a role in all things generation creation and regeneration nothing can come into being without the use of this principle The masculine is the penetrative assertive progressive conquesting explorative energy that drives progress The feminine is the receptive sacred treasured protective energy that maintains tradition and honors the priority of what is most important while nourishing that which is most essential to life Too much masculine energy without a balance of feminine leads to a growth of power to the extreme of reckless abandon where we lose perspective of what is most important and forget the principles which began the conquest in the first place While too much feminine energy without a balance of the masculine leads to a life grounded so deeply in the present that our lives become determined by the cycles and external circumstance out of our favor All beings contain this great Principle within them as two parts Every male has feminine energy and every female has masculine energy In sex we see the interplay of these energies In our moods actions attitudes and personalities we see the dance of these energies within ourselves The most potent use of this principle is how Gender is responsible for creation generation and regeneration on the mental and spiritual planes and not just the physical True progress is possible through the balancing of the two energies of Gender in oneself relationships and environment By examining how present are we with our lives How focused we are on the future What we sacrificed for our achievements How much do we protect and honor what is our highest priority How far from home have we traveled in pursuit of what we desire the most How much are we giving To choose the middle path between these extremes of the present feminine and futuredriven masculine and seek balance in all things is the key to using all 7 Hermetic Principles principles to full effect and achieving lasting selfmastery without straying too far from the path A Users Guide for Gnosis Each of these principles exists in nature and applies directly to our mental emotional and spiritual states They give us a map of hidden territory both within and without Having awareness of these principles and how the affect one another gives us an understanding of our own patterns what holds influence over us and how we can use these principles and their laws to direct our own lives The 7 principles of Hermeticism teach us how to use our minds to communicate with the Mental Universe All dreamers imagine a realm of higher aspiration than ours and the base and gross matter we come from Whether that be Platos World of Forms a Christian Heaven the New Age Astral Plane or the Esoteric notion of a Higher Dimension without trying to label or name them these principles help us understand the phenomena of the planes above us the planes below us and how the patterns of how they intercede can illuminate what we can not see As well These principles have served as tools for the priests and pharaohs of Egypt the philosophers of Greece the artists and inventors of the Italian Renaissance and the revolutionaries and leaders of America among others to can be sure But remember these are Gnostic principles By themselves these principles are useless but when you creatively apply them you can achieve any endeavor you dedicate yourself to Truly understand them by experiencing them for yourself So here are some questions to help you apply the 7 Hermetic Principles through direct inquiry and experience gnosis in your own life Questions for Applying the Principle of Mentalism Have you ever experienced the effect of mind over matter Using the power of visualization to make yourself feel less hot or cold To taste a fruit in your mind or experience a memory as if its happening now What are things you are curious about and can learn about even though they are not directly or physically in front of you right now Have you ever had the same idea as someone else or discovered something you thought was unique only to realize its been written about before Our thoughts are connected and this is one way we can tangibly understand that our thoughts are not our own and do not originate within us Have you ever focused your awareness somewhere on your body and felt it tingle or the intensity of sensation increase there simply because you directed your mind toward it This is a demonstration of the common phrase energy goes where attention flows Questions for Applying the Principle of Correspondence Have you ever dealt with a personal problem and begun to feel like the situations you find yourself prod at the issue repeatedly until you resolve it The themes in our lives tend to reoccur and correspond on many levels until we learn our lesson Have you ever noticed a pattern in nature that repeats whether in the bloom of a flower or shape of a river and wonder how these seemingly unconnected events share the same geometry All things grow by the same sets of natural laws Have you ever felt like you were a part of something larger that you may not even be able to see or perceive yet you are directly contributing to it We ourselves are a part of the correspondence Questions for Applying the Principle of Vibration Have you ever listened to a song and felt a certain way about it like some chords are pleasant to hear and others feel inherently wrong The way things vibrate effects us at a foundational level In the same way have you ever looked at a painting or a combination of colours and found it to be beautiful and at other times find it to be distressing The expression of certain vibrations even that of colours can affect us on an emotional level Have you ever attracted something into your life repeatedly by obsessing over it The phenomena of synchronicity or manifestation occurs because of the resonance and harmony between the way things vibrate Have you ever felt simply out of harmony with your environment your job or the people in your life As we change so too do the subtle vibrations of things and we can fall out of harmony with what does not honor where we are at this time in our lives Questions for Applying the Principle of Polarity Have you ever been in an argument with someone you deeply love and experienced your passion to transform into hate almost instantly then return back to love later The Principle of Polarity can confuse our emotions if we do not control the way we feel to honor ourselves or those we care about Have you ever dipped your fingers in water so hot that it shocks the nerves and feels cold at first The way we experience the shock of extremes of polarity are similar in the mind and nervous system Have you ever focused on what it would feel like to feel a certain way then began to feel that way spontaneously Our minds dont know the difference between what is imagined and what is experienced and we can selfauthor our own experience if we choose to This may feel like cheating but sometimes it is necessary in order to consistently be in a state of peak performance to accomplish our goals Questions for Applying the Principle of Rhythm Have you ever witnessed a repeating pattern in your own life or the lives of others Our lessons tend to reemerge if we do not learn from them and integrate them well the first time Have you ever been to an event or a party and had the time of your life Then have a tremendous comedown the next day or even few days even if you were sober the entire time What comes up must come down and vice versa Knowing how to ride your own rhythm gives you the ability to anticipate and plan accordingly Likewise have you ever spent several days in isolation then felt yourself propelled towards adventure and novelty What is down will eventually come back again All things exist in cycles and the key to enjoying them is understanding them and knowing how to benefit them without taking them personally Questions for Applying the Principle of Cause Effect Have you ever felt out of control or completely blindsided by something in your life Little things lead to big things In hindsight sometimes we can understand what caused what happened to us and learn from it for next time Have you ever wanted to accomplish something that felt too big or too unrealistic at the time In the same way we can start small with what we want to accomplish knowing that these littles causes will lead to new effects Which will put on further on the path of what we want to achieve simply as a rule of nature Have you ever felt reactive like your entire days were consumed by dealing with things that were simply happening to you with no time to create anything new When we get caught up in the weeds of our todos we can lose perspective of how today we are receiving the effects of causes that happened earlier And even worse lose perspective on how the wins of today will create the causes of tomorrow Questions for Applying the Principle of Gender Have you ever felt like you were so caught up in the future and the fantasy of your desires that you never took the time to do what was necessary to experience them Too much masculine energy without enough feminine presence can lead to unhealthy fantasy and disillusionment Have you ever felt so present so at ease and hedonically enjoying the now that you never cast your gaze on what would happen tomorrow Too much feminine energy can lead to such a deep sense of presence that we forget to create the causes today for the effects we want to experience tomorrow Have you ever been addicted to one extreme or the other True selfmastery comes from being able to tread a middle path Knowing that this is where we are able to most accurately direct the path of our life and show up in a way that is most authentic to who we want to be These questions are a great place to get started applying the 7 Principles to your life but dont stop here Use your knowledge of these principles to create your own experiments and take your own notes through life Gain direct experience of what you are curious about without requiring spiritual permission from anyone other than yourself Pursue that which you desire so long as it does not bring harm to another And along the way remind yourself of these principles at every turn Resurrect them every chance you get Use them to sharpen your will develop selfmastery and create what you wish to experience in this life without compromise Colton Swabb is a writer marketer and creativity researcher In his free book he teaches how creatives can stop sabotaging their own success and satisfaction and instead make a massive impact with what they produce Get a free copy of his book here

O B I O B I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O


Mild Cognitive Impairment Also called MCI On this page Basics Summary Start Here Diagnosis and Tests Prevention and Risk Factors Learn More Related Issues See Play and Learn No links available Research Statistics and Research Clinical Trials Journal Articles Resources Find an Expert For You Patient Handouts Summary Some forgetfulness can be a normal part of aging However some people have more memory problems than other people their age This condition is called mild cognitive impairment or MCI People with MCI can take care of themselves and do their normal activities MCI memory problems may include Losing things often Forgetting to go to events and appointments Having more trouble coming up with words than other people of the same age Memory problems can also have other causes including certain medicines and diseases that affect the blood vessels that supply the brain Some of the problems brought on by these conditions can be managed or reversed Your health care provider can do thinking memory and language tests to see if you have MCI You may also need to see a specialist for more tests Because MCI may be an early sign of Alzheimers disease its really important to see your health care provider every 6 to 12 months At this time there is no proven drug treatment for MCI Your health care provider can check to see if you have any changes in your memory or thinking skills over time NIH National Institute on Aging Start Here Memory and Thinking Whats Normal and Whats Not National Institute on Aging Mild Cognitive Impairment Alzheimers Association Mild Cognitive Impairment MCI Mayo Foundation for Medical Education and Research Also in Spanish What is Mild Cognitive Impairment National Institute on Aging Diagnosis and Tests Screening for Cognitive Impairment in Older Adults US Preventive Services Task Force PDF Prevention and Risk Factors Nourish Your Brain American Academy of Family Physicians Also in Spanish Statistics and Research Mild Cognitive Impairment and Progession to Dementia New Findings American Academy of Neurology PDF Clinical Trials ClinicalTrialsgov Mild Cognitive Impairment National Institutes of Health Find an Expert National Institute of Neurological Disorders and Stroke Also in Spanish National Institute on Aging Also in Spanish Patient Handouts Mental status testing Medical Encyclopedia Also in Spanish Topic Image Stay Connected Sign up for the My MedlinePlus newsletter Whats this GO MEDICAL ENCYCLOPEDIA Mental status testing National Institutes of Health The primary NIH organization for research on Mild Cognitive Impairment is the National Institute on Aging Disclaimers MedlinePlus links to health information from the National Institutes of Health and other federal government agencies MedlinePlus also links to health information from nongovernment Web sites See our disclaimer about external links and our quality guidelines

B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I I O O B I I O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O B I I O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O