Blogeintrag

06.02.2008 15:35

Blogeintrag der Erste

hier gibt es für jeden Benutzer einen eigenen Blog.

Der Blog ist voll kompatibel zu den Funktionen des Forums, das heißt, man kann alle BB-Codes nutzen für seine Texte. In Zukunft folgt auch noch eine kleines Imagehosting, damit man das alles auch grafisch aufwerten kann.

Kleiner Test für PHP Syntax
PHP Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** * * * @param * @return * @todo */ public function show() { // was soll gemacht werden $this->do = $this->iohelper->getGetPost( 'do', '', 'string' ); // $this->_getPlugins(); // $this->_buildMenu( $this->plugins ); // $this->tpl->addTpl( 'profil_head', $this->user->get( 'style' ).'/profil/' ); // interne Umleitung $this->_doStart(); }
und ein Mini Test für Java
Java Code

import java.io.StringWriter;
import java.io.Writer;
import java.util.Date;

import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.Velocity;

public class VMDemo {

public static void main(String[] args) throws Exception {
Velocity.init();
Template t = Velocity.getTemplate("./src/VMDemo.vm");

VelocityContext ctx = new VelocityContext();

ctx.put("aDate",new Date());
Writer writer = new StringWriter();
t.merge(ctx, writer);

System.out.println(writer);
}
}

Kommentare

aktuell liegen noch keine Kommentare vor

Trackbacks

aktuell sind keine Trackbacks vorhanden