phpXperts now online….

Tonight Hasin bro published phpXperts official web site http://phpxperts.org or http://phpxperts.com

PHP and PHP

Corporate world always concerned about scalable/reliable/secure solution. Java EE, .NET these are the common example among other successful technologies. “Java EE”, “.NET” seems the relief for many enterprise solution..

V(ery). Big echo system always backup these technologies.. Java EE and .NET has introduced many coolest success factors for the real enterprise solution.

Microsoft considers the general developer, they provide strong RAD tool. Microsoft never belief “…developer by born get the programming skill…”. They promote people to be programmer…

Open source technologies are supporting many corporate for a long time.. corporate world rather wasting money they are selecting the right technologies.

“Open source” brought a baby named “PHP” which is proving its simplicity in every steps. From the early stage PHP is injecting the RAD (Rapid Application Development) concept. At the beginning, PHP was aimed only for form processing. Day by day many Open minded and talented developers are contributing to give maturity in PHP.

PHP is gradually developing the best community among other technology communities. PHP has become the standard for web site development. Many successful web application for instance CMS, Blog engine etc.. are freely available. Which gives more pleasure in development rather starting from scratch.

“PHP is RAD”..
You may ask why RAD, because when you close your eyes you can see some visual components and you know them as RAD.. PHP is RAD from the sense of its simple API set.

PHP requires very minimum development time that’s exactly appropriate for Agile methodology. TDD (Test Driven Development) is now the common practice in PHP based development.

…..it is a long journey…
When OS brought the great technology “PHP”, OS developers really have foreseen. PHP started with very silly coding standard… because PHP is moving with small step. Two guys redesigned the PHP engine and they shaped PHP as a multi featured scripting environment for Web application development. People never mind to checkout the FUN.. PHP gave the FUN… that’s brought PHP as the number one web development environment.
……..
Many developers interested to develop PHP based web application… PHP became more mature.. whenever its main contributors determined on its strength.. PHP gained more strength when contributors released Zend Engine II…. OOP programming is now more strength that’s really great fun for other OOP developers…

That’s why I enrolled myself…..
Hasan
http://hasan.we4tech.com

Posted in PHP

Permalink 1 Comment

Ruby… RoR (Ruby On Rails)….

Ruby is proving it’s simplicity and productivity day by day.. Ruby shows how RAD(Rapid Application Development) should be redefined..

Ruby On Rails has gained attention of many Enterprise web application developer within few couples of month.

Java EE, .NET etc. has developed their own framework. Which already has proven their strength. Rails realized how important Web application framework is. Rails presents a great framework I have ever seen called “Ruby On Rails(RoR)”.

RoR has made ever simplified configuration system by some conventions. Though you can configure as much you need manually.

RoR by default provides O/R mapping tool with DAL(Data Access Layer) compatibility. That’s mean total flexibility of database access.

RoR has brought simplified way of MVC implementation. Pattern actually for any specific problem, pattern shows how should u walk towards. MVC is well known pattern. And now it seems buzz word to all web application developer. MVC (Model-View-Controller) is group of some patterns for web application development.

For instance Model can use DAO (Data Access Object), Singleton, Façade, Proxy etc.. general patterns.

Controller is usually based on page controller pattern which basically provide centralize control for per request.

View is generated output for end user. It may be HTML, WML, SMS etc… as per user requirements.

Front Controller is centralized controlling system, basically FC dynamically load object and perform action for each request.

RoR is true MVC framework from these senses.. And Ruby made the implementation more pain less… Comparing with other technologies.

“What is RAD… VI or IDE?”
I was confused regarding this issue in my past couples of year. But now I am confident enough because RAD is not based on IDE RAD is based on your productivity with effective tool.. RoR is actually the best choice for Rapid application development.

Ruby On Rails highlights the latest technology as their essence. AJAX (Asynchronous Java Script And XML) is getting more popularity. RoR has adopted this technology as their core module.

Ruby On Rails highlights on user (Developer) friendly API that’s really fun ….

Thank You
Hasan
Somewhere in…
http://hasan.we4tech.com
http://www.somewherein.net
http://www.somewherein.net/blog

Password protected secure web application with design patterns

Probably you want to develop password protected web application using PHP…

Make a php driven web site with FrontController approach….

I think FrontController pattern has good solution for this type of problem…

If you follow Front Controller pattern u can easily restrict any pages
from your centralize controller….
for more reading
http://www.phppatterns.com/index.php/article/articleview/81/1/1/

let’s see how Front Controller will work with your user security

public interface PHPFrontController extends BaseController {
// .....
public function isAccessible();
public function getCurrentView();
// .....
}

etc…. you can fun…..

for instance while your index.php is running…
it will cosider:

// Singleton pattern
$frontController=PHPFrontController::newInstance();

// check valid user….
if($frontController->isAccessible()) {
View::generateView(View::HTML, $frontController->getCurrentView());
}

……..

For more details information…

// example implementation of accessible method....
public function isAccessible() {
$state=false;

try {
// you can check through your DAO
if($userDAO->isValideUser(
HttpRequest::getParam(
array(“txtUser”,”txtPassword”))))
$state=true;

}
catch($frameworkException ) {}

return $state;
}

Thank you..

day with SWT (Standard Widget Toolkit)

Yeap i was never happy with Swing or AWT… they are abstract system for Java UI implementation…. They are resource hungry by default… and less productive for complex UI because they requires more memory…. much reason why Java UI could not attract my attention… don’t know may be my fault….

By the way when i get to know about SWT i really surprised because of my need.. I dont need anything more except the current OS native widgets… and SWT is faster than Swing/AWT and It provides many build in feature like System Tray, System Modal.. Widget for Mobile.. etc….

SWT could not perform well with big List because it first copy all data in Java object and copy again in Native object… so it takes some time…. But it’s really cool and it’s cooler when I use GCJ to compile my Java application to native binary….

My New banner

Few mins ago i just designed my new banner and now u can see top of my blog …..

Where we are going

Where we are going

I have been surprised when I heard about Chain bombing …

Are we going in a trap like Iraq?

I am enough frank to speak out my thinking…

Whenever I have watched the great documentary DVD from http://www.911inplanesite.com/
I have been surprised.
“Corruption is not in 3rd world it is actually in AMERICA…, there is no dirty work they can’t do… ” that was my first expression slide out from my mouth.

America would never mind if you kill their people instead you will give your assets.
Please visit this site and checkout their says (they are AMERICA indeed) .. http://www.911inplanesite.com/

As a Bangladeshi I cant belief that we have enough ability to organize this sort of bombing.

1. We by born not so organized
2. We have lack in entrepreneur
3. We are very emotional
4. We don’t have much money

What I marked in news papers

1. No killing

2. Highlighted on only one group

3. That group published some Arabic and Bengali Leaflets (Strange because we are not much Arabic literate so why they had published in Arabic ????)

4. From where they had collected their bombs??

5. We have more than 20 Islamic group all of them are splitting day by day… now my question where these Islamic groups are not organized themselves how they sufficient organized for this bombing.??.

What I think?

1. We are in trap. Some country must got something significant in our country and want to kick out ourselves from our home.
2. Who is our enemy?? We…
3. Look deeply why we are flattering AMERICA?. Because we are bounded
4. Why we are poor? – Because of honesty
5. Why we are not confident? – Because of honesty
6. Why we don’t have leading people? – Because of Honor
7. Why we have dirty politics? – Because we lost our honor
8. Why Why……

I like my country.. however it may be the worst country in the world..

OPEN YOUR EYES AND SHARE YOUR FEELINGS

Why you blame us??? Why you blame our government???

……………

What is democracy???

1. Democracy is the BIG arm of America. They kill you just by the Keyword “Democracy”
2. Their people usually enjoy their life.
3. We the Bengali Muslim people do not have Enjoyable life because of our deep feelings in life….we belief on the next steps of life….. its really a little stupid thinking about our future that we don’t have anything after dead….

I like my country and like to alert all people who have little brain to contribute for our country.

** Buddies I made some complex situation …..:D

No way don’t dislike to express my opinion in wrong words…..

Hasan

FireFox -URLComments

Yea few days back i did a fun project i call it “URLComments”

….We need to know who has visited this site before and whats his comments and rating……
— Arild
http://www.somewherein.net
MD. Somewhere in…

First thanks FireFox for there gr8 plugin artchtecture…. and they simplified Plugin system only using XML and JavaScript…..

Few days back when i heard one presentation of ……(Spring Author) about O/R Mapping…. i was surprised to hear one voice regarding User friendly API for developer…. Why Hibernate got so popularity instead other O/R Mapping tools ….

— One thing that is User (Rahter i can say Developer ) friendly API…..

Learing carve is one gr8 factor to grab anything new…. Some learning make you happy and some make you unhappy bcz of there High Learning Carve…….

I have Seen Ruby thats a gr8 fun u can learn it within a night Surprising…… but gr8 fun… to learn any new ppl as well 😉 (It may be good enough If I say …gr8 fun to learn any new Girl friend…)…..

Definitely you will get more fun whenever u will get feedback from your end user….

Few days back i talked with one guy who is physically weak for a several years. He is very happy with my SMS based Yahoo and MSN Messenger service…. and he told “Hasan its really a gr8 fun and i always connect through my mobile phone…whenever i got disconnect due to 24 hours limitation i just log in back…. :D” I am really happy for such feedback…..

yea got some bad feedback and made me unhappy but made happy bcz i am learning and i am learning to how make something for mass ppl though they got some “Bass” ;-D but its real fun….

I am really unhappy for long iteration… Iteration is good for few … but the worst thing for mass iteration….

May be I messed up everything….. 😀

Community…..

Community makes your life easier …. I think u cant imagine if your are not familiar with LinkedIn (http://linkedin.com) and other network as well…. Here some summary that will help u to get in…

You -->Have 5 friends
 |
 |
 +--
    Your friends have 5x10=50 Friends
 |
 |
 +--
     They have 50x......

IS it wondering!!!??

Back to my world…..

Yeap i dont care about anything new… I have wide hand to accept new technologies…. and old also 😉 after 1 and half year i backed to Java ME (named as J2ME but sun renamed to Java ME).

And there are a lot of fun with Java ME…. Java ME Java ME Java ME…….

August 2005
S S M T W T F
 12345
6789101112
13141516171819
20212223242526
2728293031  

Flickr Photos

RSS my shared links on google reader

  • An error has occurred; the feed is probably down. Try again later.