Commits

Anonymous committed d2494cc

Now we load plugins only when they're needed. Reduced memory consumption to 68 kb.

  • Participants
  • Parent commits 32d6367

Comments (0)

Files changed (3)

File example-site/views/dragonfly_seo.html

 		
 		<p class="extract">A form of online marketing, search engine optimization (or search engine marketing) is the process of making a site and its content highly relevant for both search engines and searchers. Successful search marketing helps a site gain top positioning for relevant words and phrases.
 		</p>
-				
+		
+		<% (DF:activate-plugin "dragonfly_seo") %>
+		<% (DF:activate-plugin "dragonfly_tables") %>
+			
 		<h2>Check description length Results</h2>
 		<% (check-meta-description) %><br/><br/>
 

File example-site/views/dragonfly_tables.html

 		</div>
 		
 		<h1>Using newLISP Database</h1>
+		<% (DF:activate-plugin "nldb") %>
+		<% (DF:activate-plugin "dragonfly_nldb") %>
+		<% (DF:activate-plugin "dragonfly_tables") %>
+		<% (DF:activate-plugin "dragonfly_forms") %>
 		<% (use-database "blog.nldb") %>
 		<% 
 			(if (= Dragonfly:action "save")

File example-site/views/dragonfly_twitter.html

 		
 		<h2>Example search for "newLISP"</h2>
 		<div id="twitter-search">
+			<% (DF:activate-plugin "dragonfly_twitter") %>
 			<% (twitter-search "newLISP" "10") %>
 		</div>