[CODE4LIB] PHP MVC frameworks
Hi, I am interested to hear if anyone is using PHP MVC frameworks to help with their code. From what I have learned, they seem to be a very good idea indeed. However, there are so many of them (http://www.phpframeworks.com/) Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project) software. Who is using them and what for? David. -- David Kane, MLIS. Systems Librarian Waterford Institute of Technology Ireland http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212
Re: [CODE4LIB] PHP MVC frameworks
Hi David, I have tried several frameworks in the past (and even wrote a home-grown one, as almost every newcommer...). The best I can suggest you is the Zend Framework. But it depends on your needs. If you want, you can use Drupal as framework as well, because it provides you both the controller (hooks, APIs), model (database API), and view (themes/templates) layers. Király Péter http://eXtensibleCatalog.org 2010/11/15 David Kane dk...@wit.ie: Hi, I am interested to hear if anyone is using PHP MVC frameworks to help with their code. From what I have learned, they seem to be a very good idea indeed. However, there are so many of them (http://www.phpframeworks.com/) Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project) software. Who is using them and what for? David. -- David Kane, MLIS. Systems Librarian Waterford Institute of Technology Ireland http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212
Re: [CODE4LIB] PHP MVC frameworks
I've been using CodeIgniter for the past few months. It's simple, relatively elegant and forgiving if you end up not doing things their way. I'm quite happy with it. It's also relatively lightweight. The cleverest thing I found was a 3rd-party extension (or maybe just a simple technique) to allow you to call your application from the command line. Useful in terms of writing cron jobs that needed to reuse the same components as the web application. --Joel Joel Richard IT Specialist, Web Services Department Smithsonian Institution Libraries | http://www.sil.si.edu/ (202) 633-1706 | (202) 786-2861 (f) | richar...@si.edu On Nov 15, 2010, at 6:19 AM, David Kane wrote: Hi, I am interested to hear if anyone is using PHP MVC frameworks to help with their code. From what I have learned, they seem to be a very good idea indeed. However, there are so many of them (http://www.phpframeworks.com/) Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project) software. Who is using them and what for? David. -- David Kane, MLIS. Systems Librarian Waterford Institute of Technology Ireland http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212
[CODE4LIB] Call for Proposals: Ohio Valley Group of Technical Services Librarians 2011 Conference
For those of you of the Technical Services persuasion, this might be of interest. The Oxford campus is pretty during the late spring, and, more importantly, less crowded with students, which means more room for you all at certain establishments. ;c) ***Apologies for cross-posting*** Deadline for proposals extended to December 3, 2010. Call for Proposals: Ohio Valley Group of Technical Services Librarians 2011 Conference Technical Services Renaissance Miami University, Oxford, OH May 15-17, 2011 http://techserv.lib.muohio.edu/ovgtsl11/ Description: In this time of turmoil for libraries, some Technical Services librarians are building a foundation for the future. Some study past successes and failures to guide future decisions and actions. Others apply current tools and concepts to reinvent existing services and to create innovative new services more relevant to today’s information environment. Finally, some are creating entirely new concepts and paradigms that will help drive the future of libraries. The foundation we are building will support a rebirth of function, form and purpose — a Technical Services Renaissance. Keynote speakers: Karen Coyle, Librarian and Consultant, and Susan Gibbons, Vice Provost and the Andrew H. and Janet Dayton Neilly Dean of the River Campus Libraries, University of Rochester. The Conference Program Committee invites forward thinking submissions in all areas related to technical services librarianship including acquisitions, cataloging, serials, electronic resources and preservation in academic, public, and special libraries. Participants are encouraged to think about where we are headed and where we want to go and to share work in areas on the leading edge of librarianship. Topics of interest include but are not limited to the following: •Approaches to metadata creation, reuse and interoperability •Approaches to training •Authority control in open source repository platforms •Automation / technology assisted cataloging and metadata creation •Cloud based solutions •Collaboration within and outside the library •Digital library projects •Digital object curation and preservation •Discovery and access •Emerging roles for technical services / technical services librarians •Integration of metadata creation with traditional cataloging workflows •Linked data publishing and applications •Local documentation practices •Network level data management •New staffing models •Role of Technical Services in open access and scholarly communication •Patron driven acquisitions and services •Role of the catalog •Special formats cataloging •Strategies for working with limited budgets and resources •Use and development of open source tools and platforms •Vendor relations Participants are invited to submit proposals that report on recent research, address emerging trends, or showcase new tools, services and projects. Time slots for all sessions are 50 minutes in length including time for questions. Submissions for presentations, workshops and panel sessions will be considered in addition to specific proposals to lead sessions in non-traditional formats (birds of a feather, lighting rounds, free-for-all forums, unconferences). Submit the following information at http://techserv.lib.muohio.edu/ovgtsl11/call-for-proposals by December 3, 2010: * Title * Abstract (no longer than 250 words) * Names, affiliations, and contact information of all presenters * Primary contact for presenters * Format (presentation, lightning round, workshop, etc.) * Equipment and other special needs Presenters will be notified of proposal acceptance by February 1, 2011. For more information, please contact Jody Perkins at perki...@muohio.edu About OVGTSL The Ohio Valley Group of Technical Services Librarians (OVGTSL) was founded in 1924 and draws its members from the states of Indiana, Ohio, and Kentucky. The annual conference rotates among these three states on a regular basis. Membership is open to anyone interested in library technical services. - Becky Yoose Bibliographic Systems Librarian Miami University Oxford, OH yoos...@muohio.edu 513.529.0253
Re: [CODE4LIB] PHP MVC frameworks
CodeIgniter is pretty good too. Best, Susan Teague-Rector NCSU Libraries Susan Teague Rector Web Design Project Librarian NCSU Libraries Péter Király kirun...@gmail.com 11/15/10 6:54 AM Hi David, I have tried several frameworks in the past (and even wrote a home-grown one, as almost every newcommer...). The best I can suggest you is the Zend Framework. But it depends on your needs. If you want, you can use Drupal as framework as well, because it provides you both the controller (hooks, APIs), model (database API), and view (themes/templates) layers. Király Péter http://eXtensibleCatalog.org 2010/11/15 David Kane dk...@wit.ie: Hi, I am interested to hear if anyone is using PHP MVC frameworks to help with their code. From what I have learned, they seem to be a very good idea indeed. However, there are so many of them (http://www.phpframeworks.com/) Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project) software. Who is using them and what for? David. -- David Kane, MLIS. Systems Librarian Waterford Institute of Technology Ireland http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212
Re: [CODE4LIB] PHP MVC frameworks
It really depends on the use case. If I'm trying to get something up quickly and it isn't too involved, CodeIgniter. If it's going to be a much more fully developed application that is to be maintained for a lengthy amount of time, Symfony. -Sean On 11/15/10 6:19 AM, David Kane dk...@wit.ie wrote: Hi, I am interested to hear if anyone is using PHP MVC frameworks to help with their code. From what I have learned, they seem to be a very good idea indeed. However, there are so many of them (http://www.phpframeworks.com/) Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project) software. Who is using them and what for? David.
Re: [CODE4LIB] PHP MVC frameworks
On 11/15/2010 12:09 PM, Yitzchak Schaffer wrote: We use symfony here, such that it's our go-to framework if we have a fairly standard web app to write. I used CodeIgniter (and migrated to Kohana 2) for our Greenstone front-end, which is not MVC. Actually, it really is MVC, just not based on a relational database. -- Yitzchak Schaffer http://phoenixorganist.blogspot.com/ The ideas in man's heart are many; It is God's plan that prevails. - Proverbs 19
Re: [CODE4LIB] PHP MVC frameworks
On 15 Nov 2010, at 11:19, David Kane wrote: We're using Zend Framework on a number of projects both internal and external. I've been following since around 0.5 and look forward to 2.0. Particular favourite components for us are Zend_Soap_Server, Zend_Cache, Zend_Layout, Zend_Application, Zend_Auth, Zend_Config, Zend_Paginator amongst others. It's definitely the largest framework out there in user base terms but it also has one of the steeper learning curves as a barrier to entry. If you are willing to put in the time to learn it, it will reward you greatly though. I can prototype systems in next to no time now, and I still don't know the half of it. -- Dan Field d...@llgc.org.uk Ffôn/Tel. +44 1970 632 582 Peiriannydd Meddalwedd Senior Software Engineer Llyfrgell Genedlaethol Cymru National Library of Wales
Re: [CODE4LIB] marcxml
On 11 Nov 2010, at 14:47, Galen Charlton wrote: Hi, On Thu, Nov 11, 2010 at 6:26 AM, J.D.Gravestock j.d.gravest...@open.ac.uk wrote: I'd be interested to know if anyone is using a good marcxml to marc converter (other than marcedit, i.e. non windows). I've tried the perl module marc::xml but having a few problems with the conversion which I can't replicate in marcedit. Are there any that I've missed? As far as Perl modules are concerned, MARC::XML is a bit long in the tooth. MARC::File::XML used in conjunction with MARC::Record may give you better results. Or File_MARC on PEAR if you prefer PHP. -- Dan Field d...@llgc.org.uk Ffôn/Tel. +44 1970 632 582 Peiriannydd Meddalwedd Senior Software Engineer Llyfrgell Genedlaethol Cymru National Library of Wales
Re: [CODE4LIB] PHP MVC frameworks
Hi all, I've actually worked with the Public Knowledge Project for many years, so just to shed a little light on the PHP framework that we use: Alec Smecher, our lead architect, has gone on record several times as saying that the last thing the world needs is another PHP framework. It came from the organic growth of several parallel applications (OJS, OCS, the OAI Harvester, and now OMP) sharing code, which we decided to abstract into a common layer to improve maintainability. It was never intended to be used as a standalone framework, although people have done so with great success. It does have some great features (namely excellent corss-platform and PHP4 compatibility) but I probably wouldn't recommend it over any of the other, dedicated PHP frameworks mentioned in this thread. A cautionary note: try to be clear about your requirements from the outset when choosing a PHP framework, as in my experience (with Zend, CakePHP, Symfony, CodeIgniter and YII) there is often a trade-off between complexity and things like speed, PHP4 support, etc. Very little is as frustrating as using a heavy, highly-featured framework when you just need to cobble together a quick prototype on your laptop. MJ On 2010-11-15, at 6:19 AM, David Kane wrote: Hi, I am interested to hear if anyone is using PHP MVC frameworks to help with their code. From what I have learned, they seem to be a very good idea indeed. However, there are so many of them (http://www.phpframeworks.com/) Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project) software. Who is using them and what for? David. -- David Kane, MLIS. Systems Librarian Waterford Institute of Technology Ireland http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212
Re: [CODE4LIB] PHP MVC frameworks
I've used CakePHP on several small internal apps and am pleased with it. From what I've heard, it forces you into MVC more than some of the other frameworks, but for me that's a plus. I can think more about what I'm trying to accomplish than how to structure the code. Maybe it's just my lack of experience. I haven't used any of the other frameworks, unless you count Drupal. If what you're doing is reasonably CMS-like, that may be a good fit (as mentioned earlier). Mike Mike Hagedon Applications Systems Analyst/Developer, Senior Digital Library Information Systems Team University Libraries The University of Arizona (520) 235-0426 haged...@u.library.arizona.edu -Original Message- From: Code for Libraries [mailto:code4...@listserv.nd.edu] On Behalf Of David Kane Sent: Monday, November 15, 2010 4:20 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] PHP MVC frameworks Hi, I am interested to hear if anyone is using PHP MVC frameworks to help with their code. From what I have learned, they seem to be a very good idea indeed. However, there are so many of them (http://www.phpframeworks.com/) Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project) software. Who is using them and what for? David. -- David Kane, MLIS. Systems Librarian Waterford Institute of Technology Ireland http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212
Re: [CODE4LIB] PHP MVC frameworks
All your replies have been really interesting. Thanks. I am currently looking at CodeIgniter - for no particular reason other than I have to start somewhere. Thanks, David. On 15 November 2010 21:57, MJ Suhonos m...@suhonos.ca wrote: Hi all, I've actually worked with the Public Knowledge Project for many years, so just to shed a little light on the PHP framework that we use: Alec Smecher, our lead architect, has gone on record several times as saying that the last thing the world needs is another PHP framework. It came from the organic growth of several parallel applications (OJS, OCS, the OAI Harvester, and now OMP) sharing code, which we decided to abstract into a common layer to improve maintainability. It was never intended to be used as a standalone framework, although people have done so with great success. It does have some great features (namely excellent corss-platform and PHP4 compatibility) but I probably wouldn't recommend it over any of the other, dedicated PHP frameworks mentioned in this thread. A cautionary note: try to be clear about your requirements from the outset when choosing a PHP framework, as in my experience (with Zend, CakePHP, Symfony, CodeIgniter and YII) there is often a trade-off between complexity and things like speed, PHP4 support, etc. Very little is as frustrating as using a heavy, highly-featured framework when you just need to cobble together a quick prototype on your laptop. MJ On 2010-11-15, at 6:19 AM, David Kane wrote: Hi, I am interested to hear if anyone is using PHP MVC frameworks to help with their code. From what I have learned, they seem to be a very good idea indeed. However, there are so many of them (http://www.phpframeworks.com/) Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project) software. Who is using them and what for? David. -- David Kane, MLIS. Systems Librarian Waterford Institute of Technology Ireland http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212 -- David Kane, MLIS. Systems Librarian Waterford Institute of Technology Ireland http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212
Re: [CODE4LIB] EZproxy and logging
Wayne, You might want to ask this of the EZProzy list. I can tell you what we do here. First, we have the following options open: Option LogUser LogFormat %h %l %u %t %r %s %b %u Basically the LogUser option was added to track possible abuse. It also, combined with the LogFormat, allows me to pick out only 302 returns for initial log-ins and connections (connections are added because one can to a different DB having once logged in). I am sure others use some sort of web-analyzing tool. I've been content running the log through Microsoft Access and extracting the part of the log I need usage statistics. (OK, I also make use of Google Analytics and looking a bit, I just might make more use of the regular expressions to filter the results accordingly). --jimm On Mon, Nov 15, 2010 at 10:12 PM, Wayne Lam wing...@gmail.com wrote: Hi, Just wonder if anyone use ezproxy or other mechanism that logs down the usage of journals, databases, etc. It seems customization of ezproxy log would not provide a type of users (ptype for III users). On the other hand if you use external authentication, you will have to combine ezproxy log and the log with user type. I would like to hear how the statistic work-flow is done in other institute. Thanks Wayne -- - Wayne Lam Assistant Library Officer I Systems Development Support Fong Sum Wood Library Lingnan University 8 Castle Peak Road Tuen Mun, New Territories Hong Kong SAR China Phone: +852 26168585 Email: wayne...@ln.edu.hk Website: http://www.library.ln.edu.hk -- jimm wetherbee http://sites.wingate.edu/jmw/ Information Systems Librarian http://library.wingate.edu Wingate University http://www.wingate.edu --lux et fides--