Difference between revisions of "WebDev"

From Earlham CS Department
Jump to navigation Jump to search
(The Courses Project)
m (Craigje moved page Content Group to WebDev)
 
(54 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
==Content Administration Group==
 
==Content Administration Group==
All the current issues we are working with, or are on our to do list.
+
* [[Content:Policies|Policies]] - writeup [https://wiki.cs.earlham.edu/images/d/dd/Content_group_policies.pdf (PDF)]
----
 
==AlumniDB==
 
  
Features to add:
+
Sites:
<ul><li>Ability to view internships currently being offered by alumni(all)</li>
+
* [[Content:CS Dept Site Setup|CS Dept Site Setup]] - http://cs.earlham.edu
<li>View of all alumni who are willing to be contacted for job opportunites and the like from current students(all)</li>
+
* [[Content:CS Wiki Setup|CS Wiki Setup]] - http://wiki.cs.earlham.edu
<li>Admin Functionality
 
<ul><li>Ability to change user type</li>
 
<li>*BETA TEST MODE*Add new functions to the data base.  UPDATE:3/12/2006: This looks like it is working, but it has not been tested extensively. PLEASE ONLY USE FOR REAL FUNCTIONS as everything gets added to the DB. There is no code to check and make sure the functionality is in place.</li>
 
<li>Speaking of which.  Write an additional function to check to see if the function the admin is trying to add exists.</li>
 
</ul></li>
 
<li>Write a function (put in common.inc) which returns a users type. This should be determined based on information in the DB and grad year (ex: someone who is not an admin and has not graduated yet is a current student)</li>
 
<li>Can't log in from the successful log out screen. Takes to main alumniDB page instead, even when user/pass is incorrect. 'request=' in address bar.</li>
 
</ul>
 
  
--[[User:Weissto|Tom]] 17:12, 2 Mar 2006 (EST)
+
*[[Relevant Servers]]
 +
*[[Content:Virtual List|Virtual List]]
  
----
+
== HTML/CSS Info ==
 +
* [[Content: Virtual versus File Include | Server Side Includes: Virtual versus File]]
 +
* [[Content: Grep, Sed, and Awk | Grep, Sed, and Awk (Oh my!)]]
  
==ToDo==
+
== Current Projects ==
<ul><li>Continue to Report CVS bugs....( all )</li>
+
* [https://wiki.cs.earlham.edu/images/8/82/Links.pdf Site map start]
<li>Validate our XHTML and CSS and links( all )</li>
+
* [[Content:Spring 2009 Todo|Spring 2009 Todo]]
<li>Install the W3C Log Validator to automate the above task..(CS Admins working on this)</li>
+
* [[Content:Potential Project Ideas|Potential Project Ideas]]
<li>Replace center tags with something valid XHTML/CSS (Jon)
+
* [[Content:Change Log|Change Log]]
Update 03/08/06: This sort of spawned another project... The CSS is a bit lengthy so I'm also looking into tightening the CSS in general a bit. (Jon) </li>
 
<li>Get feedback from the rest of the CS Department about AlumniDB</li>
 
<li>Fix everything under /html/courses it is all out of date.  Part of this is getting the XML feed working and the other part is organizing old course folders and the like. (Jon)
 
Update 03/08/06: I just wrapped up debugging the XSL transforms for the feed, so that gnome on my back has been shot after many hours of frustrated gnome-wrangling. Now it looks like another two weeks and I'll hopefully be able to have a tangible product in place for dynamic fetching of the course list. (Jon)</li>
 
<li>Fix our mail to system (possibly data base driven php? )</li>
 
</ul>
 
  
==The Courses Project==
+
== Weekly Projects ==
 +
* Week of 4/22
 +
** Sam - policies writeup, footers script
 +
** Kay - tweak trac, IRC client embed
 +
* Week of 4/8
 +
** Vlado - sitemap cont., e-mail Charlie, Jim, and John for pictures, try putting left include in a different page and see what happens
 +
** Sam - Green Science, news/job feeds
 +
** Kay - Trac + SVN, logos div
 +
* Week of 4/1
 +
** Vlado - work on sitemap, come up with a list of pages
 +
** Sam - update Student Recognitions
 +
** Kay - Trac + SVN
 +
** any - Green Science
 +
* Week of 3/25
 +
** Sam + Kay - look into "clear center" for index.html, include files versus virtuals
 +
** Kay - look at alumnidb database
 +
** Sam - take off Alumnidb link (temporarily),  student recognitions page
 +
* Week of 3/11
 +
** Sam - CDC (look at thumbnail size doing), News, db connect for perl/php conf files
 +
** Vlado - sitemap, faculty (ask Tim if he wants to be included), old content group people
 +
** Kay - get the CDC link, and then also the CDC history stuff
 +
** Anyone with spare time - look at the icons going under on the left when resizing
 +
* Week of 2/25
 +
** Sam - look at <code>email/email.php</code>, put CDC pictures up
 +
* Week of 2/2
 +
** Sam - combine two header includes, work on css crossplatform issues, keep looking at Barndoor
 +
** Vlado - sitemap, <s>content group</s>, faculty/facilities, <s>icons</s>
 +
** Kay - come of with list of pages that don't virtual header file, ones that still have h1 text
 +
* Week of 1/29
 +
** Rearranging layout of the header (Sam)
 +
** News (Sam) - Talk to Jim about how newsblog.html is being generated from Movable Type and get the MT password
 +
** Barndoor (Sam) - working example at http://staging.cs.earlham.edu/pages/grads.html#2005
 +
** Vlado possibilities: sitemap, <s>find virtual includes</s>, faculty/facilities page, <s>remove link to alumniDB</s>, update Content Group page
 +
** Kay - <s>look at how hard it would be to link .htaccess with NIS username</s> (VERY hard), <s>update wiki for accessing stuff with the content group username</s>
 +
** Kay - <s>rearrange the todo and make sure we're addressing everything Vlado came up with</s>
  
Since I'm (albeit slowly) approaching the programming phase I thought maybe an opened discourse would be useful about my plans for making the course list dynamic.
+
* Week of 1/22 - Update news section (Vlado), remove link to AlumniDB, figure out Movable Type where news is coming from (Sam), rearrange homepage to put news higher up, take off right top phrases, faculty and facilities page, Barndoor (Sam)
For efficiency's sake there's really no need to continually be parsing what will be pretty much a static XML feed from WebDB. So what I thought was we'll throw a perlscript in the Courses sub-directory and execute it from crontab every semester or so... It can pull in the XML, apply the XSL transform, and generate the course list.
+
* Week of 1/14 - go through the website and identify problem areas in need of tweaking, updating, etc. Also come up with a list of potential project ideas
Dynamic, but not wasteful, is what I'm aiming for.
 
Thoughts?
 
  
Last updated [[User:bogatjo|Jon]] 23:56, 8 Mar 2006 (EST)
+
== Previous Projects ==
 
+
* [[Content:AlumniDB|AlumniDB]]
 
+
* [[Content:Courses Project|Courses Project]]
It might make more sense to put the perl script into the cgi-bin, just to help keep the file structure as clean and organized as possible...
+
* [[Content:Old Todo List|Old Todo List]]
--[[User:Weissto|Tom]] 16:51, 12 Mar 2006 (EST)
 
 
 
 
 
Well, theoretically I should be able to add to the cgi-bin CVS module, I'll throw it in there when I get back to Indiana. Somehow I lost my ability to tunnel through Quark with SSH to my desktop so the XML parser'll have to wait for implementation until after Spring Break.
 
 
 
We need to come up with a location for cache.html; the generated HTML course list which'll live as cache for the perlscript. We also need to deal  with $recache; the variable which indicates after what period new content should be generated. And, finally, we need to determine whether it is necessary to generate an MD5 sum of the cache to check for validity; otherwise it'd be damned easy for somebody to inject an SSI into cache.html which calls God Knows What.
 
 
 
One thought I had was generating cache.html from the XML parser and then chucking it into the Content database, which if I recall was just brought into existence. We can throw it in along with an MD5 sum of the page and when it was  cached, hell we can even create an archive kind of deal where we keep old caches and let people browse 'em for historical purposes or for predicting what courses could be offered in the future, somewhat like what's there now.
 
 
 
[[User:bogatjo|Jon]] 16:09, 21 Mar 2006 (EST)
 
 
 
 
 
Okay, Jim brought up in an e-mail that it would be more efficient to have the perlscript run at a specific time through I imagine a Crontab, instead of through an SSI. I think that I want to avoid Crontab so what I'm going to is suggest that we use the Perlscript we have but instead of SSI we run with AJAX.
 
What I think should happen is that in the Courses page we have an iframe linked to the cached generated course content. That way the user at least sees something when he or she enters, and odds are it'll never be that far off.
 
In the background, JavaScript should call the Perlscript and send as its GET variable the result of querying through the document object module cache.html's document.lastModified variable; then the Perlscript can check that against the current date and time, and then use that to determine whether to regenerate the cache.
 
In any case, the Perlscript will send back either the word "refresh" or "norefresh" and that can be evaluated to determine whether to refresh the iframe.
 
 
 
AJAX allows us to offload the processing to the background; I think it should be considered instead of Crontabs. I'm going to start looking at the feasibility of implementing this, unless anybody has any objections to raise on the matter...
 
 
 
[[User:bogatjo[Jon]] 14:05, 25 Mar 2006 (EST)
 
 
 
----
 
 
 
==Fixed Problems==
 
 
 
<ul>
 
<li>Register function for AlumniDB is broken.</li>
 
<li> Revert to yourself function is broken. Get a 404 error and your stuck as the new user until you relogin.</li>
 
<li>Fix AlumniDB admin function changeuser to show the info of the user that was switched to instead of admin's info on the 'view my info' page.</li>
 
<li>Ability to create an email list of all current alumni (admin only)</li>
 
<li>Revert function is broken again, in a different way though. When reverting from a user who isn't admin, the revert function serves up error.php</li>
 
 
 
</ul>
 

Latest revision as of 11:16, 3 January 2020

Content Administration Group

Sites:

HTML/CSS Info

Current Projects

Weekly Projects

  • Week of 4/22
    • Sam - policies writeup, footers script
    • Kay - tweak trac, IRC client embed
  • Week of 4/8
    • Vlado - sitemap cont., e-mail Charlie, Jim, and John for pictures, try putting left include in a different page and see what happens
    • Sam - Green Science, news/job feeds
    • Kay - Trac + SVN, logos div
  • Week of 4/1
    • Vlado - work on sitemap, come up with a list of pages
    • Sam - update Student Recognitions
    • Kay - Trac + SVN
    • any - Green Science
  • Week of 3/25
    • Sam + Kay - look into "clear center" for index.html, include files versus virtuals
    • Kay - look at alumnidb database
    • Sam - take off Alumnidb link (temporarily), student recognitions page
  • Week of 3/11
    • Sam - CDC (look at thumbnail size doing), News, db connect for perl/php conf files
    • Vlado - sitemap, faculty (ask Tim if he wants to be included), old content group people
    • Kay - get the CDC link, and then also the CDC history stuff
    • Anyone with spare time - look at the icons going under on the left when resizing
  • Week of 2/25
    • Sam - look at email/email.php, put CDC pictures up
  • Week of 2/2
    • Sam - combine two header includes, work on css crossplatform issues, keep looking at Barndoor
    • Vlado - sitemap, content group, faculty/facilities, icons
    • Kay - come of with list of pages that don't virtual header file, ones that still have h1 text
  • Week of 1/29
    • Rearranging layout of the header (Sam)
    • News (Sam) - Talk to Jim about how newsblog.html is being generated from Movable Type and get the MT password
    • Barndoor (Sam) - working example at http://staging.cs.earlham.edu/pages/grads.html#2005
    • Vlado possibilities: sitemap, find virtual includes, faculty/facilities page, remove link to alumniDB, update Content Group page
    • Kay - look at how hard it would be to link .htaccess with NIS username (VERY hard), update wiki for accessing stuff with the content group username
    • Kay - rearrange the todo and make sure we're addressing everything Vlado came up with
  • Week of 1/22 - Update news section (Vlado), remove link to AlumniDB, figure out Movable Type where news is coming from (Sam), rearrange homepage to put news higher up, take off right top phrases, faculty and facilities page, Barndoor (Sam)
  • Week of 1/14 - go through the website and identify problem areas in need of tweaking, updating, etc. Also come up with a list of potential project ideas

Previous Projects