Difference between VGUI & Derma.

Stupid qusetion… I know. I just started learning LUA about … 1 week ago.
Yeah, so whats the difference between a VGUI panel and a Derma Panel? Thanks

If i remeber right with vgui you need to define panel like:
[lua]
local panelsettings = "
“Panel”
{
“Settings”
{
“Name” “MAHNAME”
}
“Controls”
{
“Button1”
{

}
“Checkbox1”
{

}
}
}"

[/lua]
and with derma you do something like:
[lua]
local DermaPanel = vgui.Create( “DFrame” )
DermaPanel:SetPos( 50,50 )
DermaPanel:SetSize( 200, 250 )
DermaPanel:SetTitle( “Choose Your Team” ) // Name of Fram
DermaPanel:SetVisible( true )
DermaPanel:SetDraggable( false ) //Can the player drag the frame /True/False
DermaPanel:ShowCloseButton( false ) //Show the X (Close button) /True/False
DermaPanel:MakePopup()

local DermaButton = vgui.Create( “DButton” )
DermaButton:SetParent( DermaPanel ) // Set parent to our “DermaPanel”
DermaButton:SetText( “Combine” )
DermaButton:SetPos( 25, 50 )
DermaButton:SetSize( 150, 50 )
DermaButton.DoClick = function ()
RunConsoleCommand( “kill” ) // What happens when you press the button
end

local DermaButton = vgui.Create( “DButton” )
DermaButton:SetParent( DermaPanel ) // Set parent to our “DermaPanel”
DermaButton:SetText( “Zombie” )
DermaButton:SetPos( 25, 300 )
DermaButton:SetSize( 150, 50 )
DermaButton.DoClick = function ()
RunConsoleCommand( “kill” ) // What happens when you press the button
end
[/lua]

look at pre-derma addons/gmod (if you can find them) and you’ll see