The document discusses different options for adding functionality to a Joomla site, such as installing extensions, building custom components, or using template overrides. It provides examples of essential Joomla techniques like connecting to the database, retrieving user information, sanitizing input, and getting request variables. The author will give a live demonstration of building a component.
28. I use this stuff every day
Essential Techniques
29. // Get a db connection
$db = JFactory::getDbo();
30. id name email username
1 John Smith johnsmith@domain.example johnsmith
2 Magda Hellman magda_h@domain.example magdah
3 Yvonne de Gaulle ydg@domain.example ydegaulle
loadResult()
31. loadObject()
id name email username
1 John Smith johnsmith@domain.example johnsmith
2 Magda Hellman magda_h@domain.example magdah
3 Yvonne de Gaulle ydg@domain.example ydegaulle
32. loadObjectList()
id name email username
1 John Smith johnsmith@domain.example johnsmith
2 Magda Hellman magda_h@domain.example magdah
3 Yvonne de Gaulle ydg@domain.example ydegaulle