extContent in action (part1)
Basic templates management. In the following video you will see how to split and organize the template of your future site
Content adding and editing:
Menus (templates, structure, usage)
Content Indexing and php tags options
Here you can find the final result : http://dev.ajaxinside.de/projects/extcontent/
extContent concept
Application Environment (XFCE like TaskBar and Custom WindowManager)
Content Management
Menu’s Structures
Indexing of Content Tables
This is just a technology preview developed with extJS 3.0
You can find more detailed videos here
I am not planning a release in the near future.
SDB pre-release
Used Technologie:
the ExtJS framework,
custom php to handle the server-side stuff,
a lot of patience and sleepless nights
Eclipse for web development
Here a small list of everything extra added :
- The Mighty Eclipse Platform 3.4.1
- Aptana JavaScript Editor 1.2.1.020234
- Aptana Support for EXT 2.2.004 (other framewords can be added via Aptana Update Manager)
- Aptana Web Development Tools 1.2.1.020234
- Subversive SVN Connectors 2.0.4
- SVNKit 1.2
- Zend Debugger 5.2.14
- PDT Runtime Feature 2.0.0
- RSE FTP Service 3.0.1
- RSE SSH Service 2.1.1
JRE is included but you can replace it with another one to match your arhitechture (jre folder). Currently there is a version for Windows. If i have some time i will added and one for Linux and OSX. Basically you can use the configuration and features folders and copy them over another eclipse build, but i never tried it.
I am not the author of anything ! I just combined some free plugins and features. If you care about licenses and etc., please take a look on the vendor’s sites. It’s all free software, but you never know …
This software comes with absolute no guarantee, so please use on your own risk.
Installation:
Unpack and start.
OC – new charts preview
Used technologies:
ExtJS framework
ux.Media ChartPack 2 (extjs extension)
Fusion Flash Charts
… A lot of custom work
OC – beta 1 (preview)
OC – Operatives Controlling Application
Developed with extjs 2.2 framework + custom php framework
Current status – Development + bugfixing
A little lesson in JS objects
-
myobject = function(){
-
// defining a method_1
-
function method_1() {
-
-
function sub_method_1() {
-
// defining some var (sum_method_1_var) that gonna be used only in the sub_method_1
-
var sub_method_1_var = 7;
-
-
// accessing the (z) var thats defined in the method_1
-
// this is only possible because sub_method_1 is a sub method of method_1, where the z var is defined
-
return sub_method_1_var+z;
-
}
-
-
// defining a var (z) that will be used in method_1 but accessible
-
// from each sub method in method_1
-
var z = 1;
-
-
// getting the sum of z + sum_method_1_var ( 1+7)
-
// output: 8
-
var something = sub_method_1();
-
return something;
-
}
-
-
//defing a value with the result from the method_1
-
result = method_1();
-
-
// all the method defined in return {} will be public and accessible for the "outside world"
-
return {
-
// defining a public method
-
public_method : function() {
-
return result;
-
}
-
};
-
}
-
// defining x as myobject
-
x = new myobject();
-
// accessing the public_method of myobject (x)
-
final_result = x.public_method();
-
// alert the result
-
alert(final_result);
A very handy tool for testing pieces of JS source is the Execute JS Add-on for Firefox
It’s the fastest and painless way to execute JS and debug if needed :

I hope this example may help someone
Microsoft Script Debugger – Why the fuck IE have to suck so bad ?!
Some time before – maybe 10 years ago I was the biggest Internet Explorer fan ever… Now we have version 7
Let me share some of my thoughts about it :
- Totally fucked up interface… I need at least a minute to find where the History is (for example)
- Don’t have any idea what the dudes used for a render Engine, but it sucks
- Slow, slow and sometimes too slow
- Some kind of shitty debuger for JS / AJAX… don’t really tell you something useful about the error in the script..
And here my small tip to all web developers – If you want to debug something under IE, install the official Microsoft Script Debugger. It’s free, but it’s nothing compared to Firebug. At least you will get some error messages.
Generating Items in ExtJS with JSON (php/mysql)
After some time having a really hardcore sex whit the ExtJS framework (i was on the passive side) i found the solutions of the question about the life, the universe and everything else and it isn’t 42!
Here is the source :
-
-
Ext.Ajax.request({
-
url : 'http://localhost/oc/api.php',
-
params : {
-
a : 'tabs'
-
},
-
-
method : 'GET',
-
// This is the output of api.php
-
// {"data":[{"title":"tab 1","id":"0"},{"title":"tab 2","id":"1"}]}
-
-
success : function(result, request) {
-
jsonData = Ext.util.JSON.decode(result.responseText);
-
-
// here we are generating an array with JSON objects
-
-
var personalPanel = new Ext.form.FormPanel({
-
-
title : 'Personal',
-
-
defaultType : 'tabpanel',
-
defaults : {
-
-
msgTarget : 'side'
-
},
-
layoutConfig : {
-
-
},
-
items : [{
-
xtype : "tabpanel",
-
items : jsonData.data
-
// Here we are using the jsonData.data (.data because my json formated output has a root key "data:…"
No need to write the the end of the script, this was the most important part of it.



