I don't understand what you mean by full-featured dynamic admin
interface for catalyst. You mention that it does not store images in
database, so this has me confused do you mean a full-featured dynamic
image gallery plugin (similar functionality as Meios)?
As for not storing images in the db because of high-loaded sites, I
would not think that storing in a DB would not create that much overhead
and that there maybe some advantages with clusters, clustered db's,
replication and caching etc. In the case of very large sets of images in
one album I see an advantage over a file based solution as the name can
be indexed.
At any rate I have the adding/retrevial of images from db working. It
is quite nice as it greatly simplifies the retrieving of files formats
$preview=$rs->first->preview; so to view the preview of the image:
http://localhost:3000/adminstration/photo/preview/filename.jpg
sub preview : Local {
my ($self, $c, $filename) = @_;
my $photo;
$filename ||= $c->req->param('filename');
if ($photo = $c->model('MeiosDB::Photos')->search({filename =>
$filename})) {
$c->response->content_type("image/jpeg");
$c->response->body($photo->first->preview);
}
}
At this point I'm tempted to just start using and not finish the work on
Meios;-), but I will plug away tonight and see if I can get Meios tested
and working using this new design at which point I will start using it.
Thanks,
Mojo
Oleg Pronin wrote:
I'm developing a full-featured dynamic admin interface for catalyst
(at my leasure time). It is fully a plugin. It does not store images
in database (it is not possible for high-loaded sites).
2008/3/30, Mojo Nichols <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
I assume you man that creating a plugin with the entire MVC
attached is
possible. I'll leave that for now. However in digging into this I
decided that I would change the design of Meios slightly by
storing the
images directly in the database. This reduces the amount of
configuration and I believe will make it much easier to use in a
different application. So I think it will make it easier to
create the
Plugin when I get there. Of course this is a tangent that I didn't
want to go down, but reviewing another persons code is good to do once
and a while, and I have three sites that will benefit from this.
Thanks I'll ping again if I get that far...
Mojo
Oleg Pronin wrote:
> That is very possible
>
> 2008/3/29, Mojo Nichols <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>:
>
> Hi Christopher,
>
> I'm wondering what the status of Meios is. I have found an svn
> version
> on handleframework.org <http://handleframework.org>
<http://handleframework.org> and one other
> server, but the do not work for me
> out of the box even after all dependencies are set up. I
believe
> because of changes to catalyst and dbix-class. So I'm
porting
> it to
> a more modern set up. Is this of any value to you? Has this
> already
> been done? If so is this code avaliable?
>
> I have a need to provide image management for a few
sites. I don't
> really want to write that interface as it is only for ths
clients
> convenience in choosing which images to include.
>
> Ultimately it would be really cool if one could just plugin in
> Meios and
> automagically have that interface (the enire MVC) added to
a site.
> But I don't think that is quite possible in the plugin space.
>
>
> Thanks,
>
>
>
> _______________________________________________
> List: [email protected]
<mailto:[email protected]>
<mailto:[email protected]
<mailto:[email protected]>>
> Listinfo:
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> List: [email protected] <mailto:[email protected]>
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
_______________________________________________
List: [email protected] <mailto:[email protected]>
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive:
http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
------------------------------------------------------------------------
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/