|
Content with label mambo46 in Development (See content from all spaces)
Related Labels:
developer, classes, extensions, coding, components, functions, csv, database, schema, api
Completing the Compatible Extension
Putting it all together... This article is the final part of the fourpart series of articles about developing extensions with compatibility in mind. Developing Extensions for Compatibility Let's put it all together and see how it works. You have your class defined. Now ...
Other labels:
developer, extensions, coding
|
Using Class Methods
article is part Three of the series of articles about developing extensions with compatibility in mind Developing Extensions for Compatibility. In the previous section, we talked about using functions dev:Using Functions to return information. We're likely to build up ...
Other labels:
developer, classes, extensions, coding
|
Using Functions
article is part Two of the series of articles about Developing Extensions for Compatibility For compatibility, we can use functions to collect and return common information. In PHP, functions are global in scope. That means we can call them from anywhere and return ...
Other labels:
developer, extensions, coding, functions
|
Developing Extensions for Compatibility
Introduction to Developing Extensions with Compatibility in Mind When designing a Mambo extension, it helps to keep crossplatform compatibility in mind. The basic design of your component will probably require access to some common system variables. This article will discuss some methods that should ...
Other labels:
developer, extensions
|
Database Schema of Mambo 4.6 Lite
mambolite.jpg align=center
Other labels:
database, schema, api
|
Hello World Component for Developers
Blank component template for Mambo 4.6 Al Warren has provided a blank component template for 3rd party developers to use as a basis for the creation of new components. Download it here: Hello World Component for Developerscomblank.zip
Other labels:
coding, developer, components
|
CSV Export Class - Finished Product
beauty of this class is you can download any query with just a couple of lines of code. I've used it to download a table, a simple query, and a joined query. In each case, I was able to import the csv into both MS Excel and MS Access ...
Other labels:
developer, classes
|
CSV Export Class - Pushing the content
All we need to do now is push the zip file to the browser. This is where I've run into trouble in the past. It's also why I'm changing directories and working without file paths. We'll do a quick browser check, send the appropriate ...
Other labels:
developer, classes
|
CSV Export Class - Zip File
We have our csv text ready to export. The first thing we'll do is create a temporary file we can use when we create the zip file. I'm going to do something a little different here. I've ...
Other labels:
developer, classes
|
Field Names on First Row
Now we have a field list with all the field information we need. If we want field names on the first row of our csv file all we have to do is step through the field list and create the text. Here's ...
Other labels:
developer, classes
|
|
|