Friday, October 28, 2011

PEAP MSCHAP V2 using WLC and Cisco ACS configuration example

Got from cisco support forums :

https://supportforums.cisco.com/videos/2499

PEAP MSCHAP V2 using WLC and ACS configuration example

In this video we are going to configure the WLC for PEAP MSCHAPV2 Username / Password authentication using Cisco ACS and WLC.

Hope this video was helpful and please feel free to drop in a comment and I will be more than happy to assist you!

Regards

Surendra

Introduction To PHP Framework

Secara mudahnya, definasi framework php yg aku ambil dr posting forum php.net.my :

framework ni maksudnye dia simplify kan development untuk application. so benda2 yg common sebagai contoh (connect ke database, create, read, update, delete) dalam mana2 projek yg kite buat pon akan ada kan? x payah la nak penat2 write code tu from scratch, so mostly framework ni ada provide benda2 tu dalam library diorng. kira shortcut lah.

Ada banyak framework utk php..Antaranya :
Boleh tak kalo tak nak pakai framework?
Jawapan : Boleh. Tapi programming kena buat ikut kebiasaan / cara lama. Cth seperti di bawah :

Lifutushi wrote ,

cara yang biasa aku buat ialah pecah files kepada 5 kategori:

1) functions (php, javascript,ajax) - biasanya satu main functions.php file dalam tu include file2 functions lain
2) queries - sama macam di atas
3) sessions - satu file
4) css - beberapa files berlainan untuk mudah ubah 'feel' bila-bila masa
5) html - caca marba, aku create html files ikut suka

so kat setiap html file akan ada include_once bla bla bla,

doubt wrote ,

haha... tak pakai framework pun takpa, cuba split kan paling kurang dua benda je, programming logic dan html/template.

contoh nya:

// dapatkan apa yang perlu dapat

dbconnection = ...
...
query = ....

userlist = ...
title = ....

// last sekali include kan template
// yang akan output kan pada user html
include "template/users/userlist.php";
?>

dalam template file tuh gunakan variable yang di "set" kan

...
...
for
user in userlist {
?>


....


}
?>

...

dengan cara macam lebih mudah untuk baca coding yang kita sendiri buat, iaitu semua logic ada kat satu file, dan tak jadi panjang kerana tidak bercampur dengan html output.

Itulah sedikit sebanyak info tentang framework php yg aku extract dr discussion guru2 di forum PHP.net... Harap memberi gambaran awal kpd kita semua yg beginner tentang framework php...wassalam


Reference :