View Single Post
12-07-2010, 05:05 PM
#10
Village Genius is offline Village Genius
Village Genius's Avatar
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
 
Posts: 6,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

Originally Posted by Jordan View Post
What function do you need?
wp_get_recent_posts()


Originally Posted by Hero View Post
I've never tried Savant, I should have a look at it.
Though, even the MVC design pattern, used specifically for seperating buisness logic from the front-end allows some PHP within the html. Obviously no direct database acces etc, but still.
It's true that wordpress could have separated the layers a bit more, but then again, PHP was written to be used together with(in) HTML
Pretty much all server side languages let you do that (asp.net is the only exception I know of), but that does not mean that it is a good idea in big apps.


Originally Posted by Hero View Post
You should have a look at their plugin api. When you make a plugin you don't need to include anything and you can make use of all the functions. (You'll still need to create objects instances though)
Will do, thanks.

Reply With Quote