/log

life.log()

Archive for the ‘I code’ Category

tadabor.com, one more 7-12 website

with 4 comments

السلام عليكم و رحمة الله وبركاته
الحمد لله والصلاة والسلام على رسول الله

أنه لمن دواعي سروري ان أعلن إني فعلا فخور بموقع الهيئة العالمية لتدبر القرآن الكريم

و شكرا لـ:

My dear framework 7-12

م.محمد العشري مدير شركة تدبر
وشكر خاص جدا ..  لماهر سيف “الماهر بأمر الله ” اللي بهدل ٧-١٢    :)
فريق التصميم في شركة تدبر و مهندس علاء الدين حسين .

وأسأل الله العظيم رب العرش العظيم أن يجعل الموقع و المواد المتاحة عليه في ميزان حسناتنا وميزان حسنات الشيوخ القائمين عليه و الهيئة وأن  ينفع الله به الكثير من الباحثين عن الهداية و  طلبة  العلم من المسلمين والمسلمات.. اللهم آمين .. اللهم آمين .. اللهم آمين ..

والحمد لله رب العالمين

Written by me

January 3rd, 2010 at 8:47 am

Posted in I code,I recommend,software,أخبار

Tagged with ,

XML, The eXtensible Markup Language

without comments

السلام عليكم و رحمة الله و بركاته

Lately, I’m interested in making more semantic web applications or at least applications that has XML meaningful output instead of XHTML or HTML..

Also I’m interested in MVC design pattern and the CRUD scaffolding technique had a great impact on my productivity, My Framework 7-12 used to create the Model View and the Controller for me automatically ..  the view file used to be HTML, which also was so complicated and dependent on my theory of web design,.. which isn’t always compatible with others .. :D

So, here again the Meaning<->Presentation separation idea appears again ..

One more thing was going in my head … which is XML Data islands,  which is IE ONLY feature ..
Basically it’s how to bind a XML data source to your HTML keep the design attached to that source fields as long as it’s XML even if it was a dynamic ie. PHP file that send XML in response ..

After thinking on how to reach my destination I decided just to format my views XML and style them CSS and not XSLT..
And may be I’ll use XForms .. !!

And still thinking …

Written by me

January 1st, 2010 at 10:37 am

I deactivated my FB – Random Updates

with 10 comments

Al Salam 3lykom :)

I deactivated my facebook account.

Yes,  We – Arab an Egyptians- are social ENOUGH .. we don’t need any social web apps, including Facebook

SCS System is done, Special thanks goes to Ahmed Sameh Patience :)

My Exams are done Al 7amd lellah :)

I caught cold that I wasn’t able to go out of my home, even for prayers .. !

I lost my /home (All new data since  June 06 year was there) .. including all my master pieces :’(
hopefully I’ve some of them online, but last version of 7-12 didn’t survive :’(; Unless I think I’ve the key changes somewhere online  .. still searching ..

isA, I’m giving sessions this vacation with depiak keep your eye on .

I’m preparing for a nice deal with Faculty of Medicine for PixiCAT.

I don’t think that I’ll run The flash workshop, Eng.Sara Gomaa will give it.

I’m taking -for the first time in my life- courses that’s related directly to hardware, one of them is PLC in Jeelcom.
Side note: I don’t have any commitment to IT courses I hardly attend 2 classes in row; That I’m afraid to have the same attitude in these hardware courses..!

I during the SCS finish Phase checked all the tasks in my Google tasks and I was sooooo happy.

I’m making something called the CAT Activity protocol “Project Orientation Approach discipline”

I’ll be holding a public meeting & including dream team is essential On Feb 1st isA, I’m still not sure confirming dates with everyone.
This remembers me with Gaza, which is making a shiver go my body every time I feel how disabled I felt all this war long ..!

I had 2 meetings with “Echo” Family in Architecture Dept. in our Faculty and we are going to have a uinion with 90degree and goodTime families , may be this union will be a start for great & serious union.

I’m not healthy enough I bought bing bong racquets for me and biko which are supposed to motivate us work on our fitness issues.

I’m now feeling like my blog stinks .. and 2.7 is so nice ..

PixiCAT -as shown in google reader- is more active than others which is very nice thing  “masha2 Allah” :)

I’m making my 1st multitouch screen it’s so easy you have to try it if you are curious how to do it you must search google and youtube how to do it ..
I’ll share it with CSED and other friends like Mohammed Safwat; and pure programming issues may be will discussed with depiak isA :)

Isn’t It wiered to keep calling your blog a personal blog when it’s no so personal, simply everyone is looking at it ..!
–So wieeeeered .!

Enough for now :)
PS-Powercaps, gamed 3ashan el bard :)

Salam

Written by me

January 24th, 2009 at 11:38 am

veryActiveRecord — seven12

with 5 comments

السلام عليكم ورحمة الله وبركاته

7-12 framework now has better scaffolding and is clean urls [URL rewriting]

I’ve been working on it the last days but the very strange thing is .. I’m working shallow issues ..
Mainly, I forgot that seven12 have a MODEL problem .. Major problem .. it’s not yet an active record based one ..
so ..It’s not that handy if you tried to code your application if you didn’t not start from scaffolding then modifying, and in case you scaffolded you table you will still need to understand the fact of each model is a file and a different class which is -now- sounds so illogical to bind them all to a parent “doing a singleton connection–which almost nothing” class ..!
Sooo ..
I decided to code “veryActiveRecord” which will work on the 2-ways
1-it’ll enable you to have the row to object model
2-It’ll have the Object to row model through what I call “inversed scaffold”
Ex.

//normal active records ..
//assuming the table users exist “note the convention of plural table names will be fixed on scaffolding part ..”
//users table contains the four columns / fields id name email which is INT PK auto_increment NOT, varchar(50), varchar(200), respectively
$values=array(id=>NULL,
‘name’=>’Ahmed’,
‘email’=>’ahmed@ahmed.com’);
$user = new User();
$user->add($values);

//this will work exactly like sending the query:
//insert into users values (NULL,’Ahmed’,'ahmed@ahmed.com’);
//user class contain relation parameter “class variable” describing the relation to other tables..
//which will be as high leveled as ROR “Ex. belongs to and has many ..”

Next is the inversed scaffolding ..

//my plan is to have no table sql already designed..
//developer will design how to handle the fields before creation
//inside the users class
$relations=array(‘has many

    users

‘,’belongs to

    groups

‘);
$id = new intField();
$name = new strField(“unique”);
$email = new strField(“searchable”);
//and I’ll copy a feature from DJango calle s=dbsynch you will be able a fully compatible to your code SQL which can be directly or indirectly “copy paste to your console/phpMyAdmin” executed .

Well, It sounds a lot of code to write ..
but It sounds also sooo interesting when it’s done -that way- as it is a challenge for me :)
and I just love challenges ..

NOTE:
I’ll pause working on scaffolding for the moment ..
clean URLs will remain with the same procedure
better mail and better template engine is what I’m planning for ..
and there was a very important thing to talk about which I forgot while writing that topic ..
Make a prayer to remember ..
إن شاء الله ..
7-12-2008 will be a nice release isA :) ;may be the 1.0 release ..!
Salam

Written by me

November 19th, 2008 at 9:49 am

Seven12 framework

with 7 comments

Al Salam 3lykom :)

712-logo

I finished scaffolding in Seven12 “70 %”.
OOP.
themed view
Commented almost everything

and now you can keep track of the progress here :

http://code.google.com/p/seven12/

yes, it’s a google code project :)

I recommend rapid SVN for who are intending to collabrate :) [under linux SVN client]
kamasheto and BinGo are on the top of the list tab3an :) .

Kamasheto, waiting for your comments rating my 7-12
Salams,

Written by me

July 25th, 2008 at 11:56 pm

Get Adobe Flash playerPlugin by wpburn.com wordpress themes