Profile cover photo
Profile photo
Boris Gurvich
333 followers
333 followers
About
Posts

Post has attachment

Introducing open source distributed macroblogging platform: DotMesh

http://github.com/unirgy/dotmesh
http://dotmesh.org
Add a comment...

Post has attachment
Amtrak wifi...
Photo
Add a comment...

Started Fulleron documentation from an anatomy of a module http://unirgy.com/wiki/fulleron/module
Add a comment...

I think I'll start to share exciting bits on Fulleron progress here. Why not :)

Had a task today to integrate with Wordpress (theme, session, inject blocks).

All that was required:

1. add to index.php:


$dir = '/var/www/vhosts/dev.unirgy.com/fulleron';
require $dir.'/lib/buckyball/buckyball.php';
require $dir.'/FCom/FCom.php';

// get parent folder for webroot
$webRoot = BRequest::i()->webRoot(1);
// specify web base urls
BConfig::i()->add(array('web'=>array('base_src'=>$webRoot, 'base_href'=>$webRoot)));

// initialize frontend environment
FCom::i()->init('FCom_Frontend');
// open session
BSession::i()->open();
// initialize modules and themes
BModuleRegistry::i()->bootstrap();

2. add to wp-content/theme/.../header.php within <head>:

<?php echo BLayout::i()->applyTheme()->applyLayout('base')->view('head'); ?>

3. Add blocks where needed:

<?php echo BLayout::i()->view('header') ?>

That's it! Ahh...

Noticed wordpress lag. After working with 20-30ms and 5-7MB per request, 164ms and 22MB look crazy.
Add a comment...

Post has attachment
Add a comment...

Post has attachment

Post has attachment
Add a comment...

Post has attachment
Add a comment...

Looking for a Magento developer. Required: 5yr PHP exp. Preferable: US based.
Add a comment...
Wait while more posts are being loaded