Aug 22, 2008 | 09:29 AM  
Welcome

Don't have an account yet? You can create one, it is free, just click here

as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
  Forum FAQForum FAQ   SearchSearch  UsergroupsUsergroups  PreferencesPreferences  Options forumOptions forum  Watched TopicsWatched Topics  Watched ForumsWatched Forums
Latest forum posts Latest forum posts  Log in to check your private messages Log in to check your private messages    Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Wiseman
MD user level 5
MD user level 5


Joined: Mar 15, 2005
Posts: 102
Location: Spain
Member
Post  Posted: Dec 14, 2006 - 02:51 AM Reply with quote Back to top
Post subject: Afina PowerPack for MDPro: AJAX support and more

As I promised, here's a pack of patches and utilities for MDPro released under the GPL license by Afina Sistemas: the Afina PowerPack for MDPro (complete with documentation and examples).

This pack enables AJAX support for MDPro 1.07x, and introduces a new, unbreakable sanitization scheme, a popular client-side JavaScript library used by Ruby on Rails (not developed by Afina), a simple way to call new-style modules inside other modules, and a set of database, ISO date, and other utilities.

Although it's naturally allowed by the GPL license, I'd like to explicitly state that you're welcome to use any of this code for future MDPro releases. You'll find patches and functions inside the PowerPack includes are separated by task, so that taking individual functionality packages is easy.

Look below for my third post to get the PowerPack version 1.1.

Feel free to ask questions on how to use or integrate the PowerPack in this thread.


Last edited by Wiseman on Dec 23, 2006 - 02:29 AM; edited 1 time in total
View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada

Post  Posted: Dec 14, 2006 - 06:46 PM Reply with quote Back to top

Thanks for your contribution, I will take a look then i send you email about

File is now attached in this post



AfinaPowerPack.zip
 Description:

Download
 Filename:  AfinaPowerPack.zip
 Filesize:  46.09 KB
 Downloaded:  388 Time(s)


_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Wiseman
MD user level 5
MD user level 5


Joined: Mar 15, 2005
Posts: 102
Location: Spain
bannato
Post  Posted: Dec 16, 2006 - 12:13 AM Reply with quote Back to top

(This post was related to PowerPack 1.0; please disregard it. The current version is PowerPack 1.1 and it has no known issues. If you had downloaded PowerPack 1.0, please download version 1.1 and replace it, reapplying the hacks you used.)


Last edited by Wiseman on Dec 23, 2006 - 02:31 AM; edited 2 times in total
View user's profile Visit poster's website
Wiseman
MD user level 5
MD user level 5


Joined: Mar 15, 2005
Posts: 102
Location: Spain
bannato
Post  Posted: Dec 23, 2006 - 02:28 AM Reply with quote Back to top

Another issue was found in PowerPack regarding the support for file attachments to be uploaded from new-style modules (echoing the files and returning ''), e.g. Pagesetter uploads and image uploads. This situation had not previously arisen in our production portal because we're using a slightly different core.

However, I'm aware that a 100% compatible solution is desirable for a community which needs to keep generic and support as many modules as possible.

Therefore, I've developed a new AJAX scheme for PowerPack, and here's PowerPack 1.2 implementing it. Please disregard PowerPack 1.0 and the $additional_header issue; both $additional_header and file attachments are compatible with PowerPack 1.2. The changes are detailed in the readme file.

(If you had downloaded PowerPack 1.0, please download version 1.2 and replace it, reapplying the hacks you used.)

Attached to this post you will find Afina PowerPack 1.2, with the extra functions and AJAX support for MDPro 1.07x. Enjoy!



PowerPack12.zip
 Description:
Afina PowerPack 1.2 (updated 2007-02-09)

Download
 Filename:  PowerPack12.zip
 Filesize:  48.1 KB
 Downloaded:  355 Time(s)



Last edited by Wiseman on Feb 09, 2007 - 09:53 PM; edited 1 time in total
View user's profile Visit poster's website
NateM
MD user level 5
MD user level 5


Joined: June 18, 2005
Posts: 165

bannato
Post  Posted: Dec 25, 2006 - 09:56 PM Reply with quote Back to top

Is it possible to give an overview of exactly what this does and what it's used for? My Spanish is pretty terrible and so I wasn't able to grasp all that much from the website listed above.

Edit: Nevermind: readmes are my friend.
View user's profile Visit poster's website
Wiseman
MD user level 5
MD user level 5


Joined: Mar 15, 2005
Posts: 102
Location: Spain
bannato
Post  Posted: Feb 09, 2007 - 09:55 PM Reply with quote Back to top

Afina PowerPack has been updated to version 1.2, with the following changes:

- Date functions (Date_) have been expanded and improved.
- *UserConfig functions no longer trigger_error, but use ppdebug's LogStr.
- The REX function is now available from JavaScript for simpler remote execution. It's meant to be used instead of IL and ILi (which are still available).

I've updated my previous post with the attachment. Be sure you are getting the file "PowerPack12.zip".

To update from PowerPack 1.1, you only need to replace your includes/powerpack.php and includes/ppdebug.php files included in the ZIP.
View user's profile Visit poster's website
Wiseman
MD user level 5
MD user level 5


Joined: Mar 15, 2005
Posts: 102
Location: Spain
bannato
Post  Posted: July 26, 2007 - 12:31 AM Reply with quote Back to top

We're releasing the final version of PowerPack, 1.3, and at the same time we're deprecating it in favour of what we'll release next...



PowerPack13.zip
 Description:
PowerPack v1.3 final (deprecated)

Download
 Filename:  PowerPack13.zip
 Filesize:  54.73 KB
 Downloaded:  169 Time(s)

View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada

Post  Posted: July 26, 2007 - 12:43 AM Reply with quote Back to top

Is it compatible with MDPro 1.08x ? and what you want to release in future ? Smile

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Wiseman
MD user level 5
MD user level 5


Joined: Mar 15, 2005
Posts: 102
Location: Spain
bannato
Post  Posted: July 26, 2007 - 12:55 AM Reply with quote Back to top

I haven't tested it but I bet it works with little to no modifications. There are some changes to apply to the way modules are loaded from index.php, but they should be easy to adapt, and the most useful stuff - the functions themselves, should work without modifications.

This is what we were up to, we're releasing the base framework we use to create our internal applications. Enjoy!
View user's profile Visit poster's website
Display posts from previous:     
Jump to:  
All times are GMT + 13 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by MDForum 2.0.8© 2003-2007 MAXdev Team
Credits