Abejali Technology

The Way To Success
Subscribe

JQuery - The JavaScript Revolution

March 27, 2009 By: abejali Category: JQuery

Aku percaya setiap programmer ada citarasa yang berbeza dan tak mungkin ada pengaturcara yang menguasai semua bahasa tetapi ia bukanlah sesuatu yang mustahil. Aku sebagai contoh lebih suka membuat program berbentuk Desktop application berbanding pengaturcaraan berasaskan web. Tapi apakan daya aku, aku cuma kerja makan gaji ajer so kenalah ikut kehendak company atau client.

Tiba-tiba aku rase malas jer nak taip di dalam bahasa inggeris. so lantak korang la paham ker tak. Apa yang aku nak ceritakan untuk artikel kali ini ialah berkenaan JQuery.. Korang pernah dengar tak? So artikel kali ini just nak bagitau secara asas penggunaannya. Kalau nak tahu dengan lebih lanjut, layarilah laman web http://jquery.com

JQuery merupakan bahasa skrip yang dibina berasaskan JavaScript dan ia digunakan secara meluas untuk menjadikan sesuatu laman web lebih fleksibel dan interaktif .

Aku biasanya menggunakan JQuery di dalam kaedah memanipulasi XML DOM dan data menerusi Ajax. Aku suka menggunakan JQuery kerana ia memudahkan aku untuk memanipulasi data yang ada di dalam skrip, dan yang paling penting ia bersifat cross browser iaitu tidak terhad hanya untuk browser tertentu.

Aku just nak tunjuk betapa ringkas dan mudah untuk membina kod Ajax menggunakan JQuery berbanding kod tradisi menggunakan Javascript /VbScript.

Contoh : Menghantar maklumat ke fail “proses.php” dan respon yang diterima akan dipaparkan di dalam Tag “<div id=’div_output’></div>” .

function ProcessRequest(){
$.get(“process.php”, { user:“abejali”, request: “money” },?
function(response){
$(‘#div_output’).html(response);?
});
}

Untuk mengetahui maklumat lanjut, sekali lagi layarilah laman web rasmi JQuery di http://jquery.com

 

abejali


PHP and Java Communication

November 03, 2008 By: abejali Category: PHP And AJAX

<?php
/////////////////////////////////////////////////////////////////////////////////////////////
// Date : 03 November 2008
// Author : abejali
// Email : abejali@yahoo.com
// Title : Communicating Java Socket Server With PHP
//  This Function is to send parameter and get the result from java socket server
/////////////////////////////////////////////////////////////////////////////////////////////
function GetTCPResponse($Parameter){
/* Change to your Java Server Port */
$service_port =’208′; //getservbyname(’www’, ‘tcp’);
/* Get the IP address for the target host. */
$address =’127.0.0.1′; //gethostbyname(’www.example.com’);
/* Create a TCP/IP socket. */
$socket = socket_create(AF_INET,SOCK_STREAM, SOL_TCP);
if ($socket === false) {
echosocket_create() failed: reason: ” . socket_strerror(socket_last_error()) . “<BR>“;
}
//echo “Attempting to connect to ‘$address’ on port ‘$service_port’…”;
$result = socket_connect($socket, $address, $service_port);
if ($result === false) {
echo socket_connect() failed.\nReason: ($result) ” . socket_strerror(socket_last_error($socket)) . “<BR>“;
}
$in = $Parameter;
$in .= chr(13) . chr(10); //End Of Java Transmission 
$out = ”;
$response =”;
//echo “Sending Data Transfer …”;
socket_write($socket, $in, strlen($in));
//echo “Reading response:\n\n<BR>”;
try {
while ($out = @socket_read($socket,2048, PHP_NORMAL_READ)) {
$response .= $out;
}
} catch (Exception $e) {
   echo Caught exception: ‘,  $e->getMessage(), “\n“;
}
//echo “<BR><BR>Closing socket…”;
socket_close($socket);
return $response;
}
// Test This Function
echo GetTCPResponse(”This Is My Test“);
?>

 


3D box shot maker VS 3D box shot lite

February 23, 2008 By: abejali Category: Software

3D Box Shot Makerfrontcoversmall

  • Download 3d box shot maker Here
  • Download 3d box shot lite Here

Do You Have any product To Sell? If yes, you should have 3D Box tools to interact your customer. To Start a business need a lot of money included advertising cost, business tools and many more..

But for the beginning, why not just use the free software. You can create or buy all those stuff when you are ready.

From my survey, 2 most popular free tools are 3D Box Shot Lite and 3D Box Shot Maker. You can change your own image into a cool 3D Box. It is a good way to promote your prduct.

 

3D Box Shot Maker

  • 3D Box Shot Maker is an easy and FREE tool to virtually design quality box shot as your software box cover.
  • professional 3D box shot to attract your potential customers to take a closer look at your products.
  • An impressive 3D box shot will make your software outstanding, and easily defeat your competitors at the start.
  • 3D Box Shot Maker accepts a front image and a side image as input, and generate the final image on the fly.
  • It can also include a shadow and a reflection in your 3D box shot. It will show the preview image instantly as you adjust the size and other parameters.

Download 3d box shot maker Here

 


 

3D Box Shot Lite

  •  3D Box Shot is a software utility that will allow you to create 3D Box Shot Images.
  • A box shot of your products can help you sell more software.
  • Nicely designed box shot will allow your product to stand out on many shareware download sites.
  • A nicely designed box shot makes your product more attractive to affiliates.
  • A nicely designed box shot can be used by affiliates as a marketing tool for your product.
  • Box Shots act as an immediate visual clue that what you are selling is software.
  • The design of the box shot itself can provide a short hand method of delivering a powerful message about what your product is and what it does.

Download 3d box shot lite Here

 abejali


Top 10 Ways To Raise Your Site In Google

February 20, 2008 By: abejali Category: Search Engine (SEO)

Original Written : By Jason Lee Miller

And in other search engines, too

No matter how much some people claim the SEO industry is a den of snake-oil salesmen, there are still definite ways webmasters can improve their rankings, and thus their visibility in Google’s search results.

This isn’t a manipulation game-Google absolutely hates that game and will punish you for it-which is perhaps what the darker element of the SEO world sells. Good, in-bounds SEO is made up of smart, user-and-search-engine friendly techniques. Think of SEO as a performance-enhancing drug-one that won’t get you kicked out of baseball.

That being said, there are tons of things webmasters can do to help their sites perform better in search, so this list is not by a long shot finished. It is, though, what we think are the top ten strategies for better search engine-and by “search engine” I mean “Google” - placement.

Read the rest of this entry →


ToolboxBitmap Icon Solution For VB6

February 14, 2008 By: abejali Category: VB6 And AJAX

Download This Project Here

toolboxbitmap

Description : Size 84Kb

There are lots of benefits you can learn from this project
This is Most Wanted VB Source Code that is hard to find it anywhere
I hope this project will help you much on solving your problem in this area

The Keystone Of This Project:

  • Learn how to add ActiveX component library in your project
  • Learn how to register ActiveX component
  • Learn how to get list of objects in ActiveX component
  • Learn how to get ToolboxBitmap icon from each object
  • Learn how to create object on runtime
  • Learn how to handle license key of object

Declaimer:

You can use this idea but please give me some credit with
putting my information on your project.
Or at least give me some good comment

Download This Project Here

abejali



Contribute Your Idea And Get Famous

February 13, 2008 By: abejali Category: Announcement

 

Recycle your mind

If You have something brilliant!, why not share it with us!

Anything about

  • Articles / Knowledges
  • Ideas
  • Source Codes
  • Software / Market survey
  • Etc but not porno things

Mail It To Me At abejali@yahoo.com

Attach it with your personal information like

  • Name
  • email
  • website
  • Country
  • Title for Your contribution
  • Category
  • Share Personal Information With Public : Yes/No

We don’t promise anything for your contribution but you will get benefit from people all over the world that will watching you on this site. Event this is just my personal website. It has been visited by not less then 23 countries with different cultures.

Contribute your things and invite your friends to come here. Make havoc! with it and get famous like an Artist.

abejali



Converting String To Hex Using XML

February 11, 2008 By: abejali Category: VB6 And AJAX

 There are many ways to convert any string into Hex format. This is one of alternative way to convert it using XML functionalities

Download Full Sample Project Here

Public Function XML_StringToHex( _
ByVal Binary As Variant) As String

On Error Resume Next

Dim MyByte() As Byte
MyByte = Binary

Dim xmlDoc As New MSXML2.FreeThreadedDOMDocument
Set xmlDoc.documentElement = xmlDoc.createElement(”bin”)

With xmlDoc.documentElement

.dataType = “bin.hex”
.nodeTypedValue = MyByte
XML_StringToHex = .Text

End With

Set xmlDoc = Nothing
Erase MyByte()

End Function

Public Function XML_HexToString( _
ByVal HexString As String) As Variant

On Error Resume Next

Dim xmlDoc As New MSXML2.FreeThreadedDOMDocument
Set xmlDoc.documentElement = xmlDoc.createElement(”hex”)

With xmlDoc.documentElement

.dataType = “bin.hex”
.Text = HexString
XML_HexToString = .nodeTypedValue

End With
Set xmlDoc = Nothing

End Function

Download Full Sample Project Here


Describing My Emotion Today

February 10, 2008 By: abejali Category: images

I’m feeling so bad because my computer made me sick today with some sort of error.

Thanks to god for solving all my problem with my brain that you gave to me

I drawn this picture to relax my mind.

logominda

abejali.com


Dari Graduan Kepada Menjadi Usahawan

January 31, 2008 By: gmie9502 Category: Business

Dari Graduan Kepada Menjadi Usahawan

Pengenalan
Usahawan atau dikenali juga sebagai entrepreneur. Ia adalah satu istilah atau pangkat yang diberikan kepada seseorang yang mengambil pelbagai risiko untuk berjaya dalam bidang perniagaan. Usahawan adalah ketua kepada perniagaannya. Usahawan mempunyai kuasa menentukan hala tuju perniagaan dari segi pemasaran, operasi, pentadbiran dan sebagainya.

Boleh dikatakan, hampir semua manusia di dalam dunia ini ingin menjadi usahawan. Termasuklah graduan. Mereka teringin menjadi usahawan. Tetapi isunya sekarang, bagaimanakah caranya seorang graduan ini ingin menjadi usahawan. Dengan pengalaman yang cetek, tiada keupayaan kewangan, tiada hala tuju perniagaan yang ingin dijalankan dan sebagainya, mampukah graduan?

Read the rest of this entry →


The Beauty Of 9th

January 31, 2008 By: abejali Category: Science And Math

When I Was A Kid, I have been teached by my teacher to learn some mathematic formula to speed up my calculation. I think everybody knew about this:

Any single Digit Times By 9 will be : [x-1] & [9 - (x-1)]

x= Single Digit

Which mean

if 7 X 9 : it will be
=[7-1] & [9-(7-1)]
=6 & 3
=63

Or

if 9 X 9 : it will be
=[9-1] & [9-(9-1)]
=8 & 1
=81

But I have found something that it is not limited only for a single digit. Let me show you how I can calculate a huge number if the pair is 9

For example:

1) 237 X 999
2) 123456 X 999999
3) 32553532653 X 99999999999

Let say :

X =237
Y =999

Some expert person calculate it like this

X * Y = [X (Y+1)] - X
=[237(1000)]-237
=237000 - 237
=236,763 #

And This Is My Formula

X * Y = [X-1] & [Y-( X-1)]
=236 & 763
=
236,763#

If you make some prediction, each of the number has a pair that equal to 9

2 with 7 = 9
3 with 6 = 9
6 with 3 = 9

So it easy for you to solve the problem number 2 and 3.

  • Ignore the entire 9 group
  • Put all other digits with minus 1 and make the pair

2) 123456 X 999999 = 123455 & 876544
=123,455,876,544 #

3) 32553532653 X 99999999999 = 32553532652 & 67446467347
= 3,255,353,265,267,446,467,347#

So now do you think you can beat Super Intelligent Computer Huh!

If Microsoft or any Super Computer Designer knew about this formula, maby it will be no longer 8 bits ,16 bits ,32 bits , 64bits,128 bits or bla.. bla ..bla…

It is just Only 9++ bits in the future.

Good Luck

If you feel lucky for this code, why not just buy me some coffee :)

abejali.com