Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there an existing PHP, Javascript, or even command line tool that can build a family tree in HTML (preferably) or at the very least create an image for it? Multiple parents are a requirement. I have been googling this for hours, but to no avail.
For instance, the Google Organizational Chart would be ideal, but it only allows each node to have at most one parent. I need two parents to be possible.
Whatever this website does would also be perfect: http://www.familyecho.com/, but it seems to not be done with javascript and they don't publish the code that actually creates the visualization.
Even connecting to an external website to use their API to generate a visualization would be perfect.
You might be interested in Raphaël, especially this demo.
Edit: I just came across a couple other promising-looking options from this question.
Protovis - I knew about this one when I first answered, but didn't think of it at the time. It's really flexible. Check out the examples.
Dracula Graph - haven't tried it. It might be too simple for your uses.
As it's just the JavaScript you're after (I assume, since you're designing your own schema...) the InfoVis framework provides all sorts of complicated relationships - http://thejit.org/static/v20/Jit/Examples/ForceDirected/example1.html.
This is possible with Graphviz. It's an (easy to learn) language, and a command-line executable (for Linux, Solaris, Windows and Mac) which can export at least to PNG and SVG. It is extremely flexible and can do family trees. I suppose multiple parents is not a problem at all. Check http://www.graphviz.org/content/kennedyanc for an example. See all the other examples at: http://www.graphviz.org/Gallery.php
You will probably discover several other uses for Graphviz yourself.
Family Echo now has an API, allowing you to submit a family tree in GEDCOM or FamilyScript format, and view in online via the Family Echo site.
At last if found very useful script for making professional family tree diagram in php. It helped me alot. Just want to share with others, may be helpful to others.
jTree Family Tree Maker Script
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
What is the closest thing to WordPress in python instead of php?
WordPress is known for its simplicity. You donwload it, throw it on your server, make some edits to a config file and you are done. Afterwords you can pick a nice theme and edit it a little bit and voilá your homepage (with blog functionality) is ready.
I wondered if there is a python equivalent to this. I am more skilled in python then in PHP and I like the way you handle things in python better then in PHP. Further more I have little time to read up about a complicated web framework and need something, that works out of the box.
In Detail, I want
a simple and proper looking static homepage.
to add some Javascript driven Modules to it. Like the SIMILE Timeline and Google Maps.
to exchange data with a MySQL Server.
to have a search form for the database.
to display content from the database in proper lists or tables.
What would you recommend?
There is another project worth mentioning not on the Python wiki blog software page, mezzanine. Built on top of Django, it certainly angles to be an all encompassing blog solution, and even lets you import your old wordpress posts (if you wanted to migrate). Django is a great project in general, so it gives you a good base to do anything you want.
If you are just interested in throwing together a blog, or a site which will have similarly static content, you might want to check out hyde, which is a static site generator, similar to ruby's jekyll. It's a pretty neat approach.
I'm not sure what you are looking for, but here is a list of a bunch of blogging software written in python:
http://wiki.python.org/moin/PythonBlogSoftware
Django has many cms packages that could act as a Wordpress substitute. Based on the page listing cms packages, I tried out two: django-cms and mezzanine. These are both active projects and with many projects using them. So far I'm leaning toward mezzanine: its documentation is better and it is a little easier to set up.
For sure, though, you should check out this page of comparisons: it will probably be more up to date than the answers here on SO. But if all you have to go by is this page, I'd say go with mezzanine.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 months ago.
Improve this question
I am going to create a corporate site with around 150-200 pages. Several pages have three category levels (I mean a URL like products/myproduct/overview)
The client's employees should be able to edit all the pages very easily, manage the navigation and left blocks as well.
What CMS (opensource, if possible) can I use? PHP, Perl would be good but I am open to .NET if necessary.
Thanks!
Dav3
A list of Perl CMS's can be found under applications on the Perl5 wiki.
Also looking at your requirement you may find a Wiki to be an option? In particular MojoMojo because this differs from the standard wiki approach by allowing directory structures thus making your category levels products/myproduct/overview possible.
/I3az/
Perl: if you're happy coding up the admin backend and (possibly) have used CGI::Application, Mark Strosberg's Titanium framework is nippy and lightweight but as powerful as you need it to be or - if you want something more popular - try Catalyst. For an example (can't show the backend, which uses Markdown) this site is built on Titanium.
PHP: If you don't want to code up the backend a CMS is the way to go. The latest version of Joomla should do what you want, although you'll probably have to hobble the WYSIWYG editor and editing options (and provide a little training) to prevent users from doing (say) things like pasting an entire Word document into the editing window! For an example (again, can't show backend) this site uses the latest version of Joomla.
But everyone's going to have their favourites here...
Bricolage 2 - You'll get permissions, alerts, ldap authentication, publishing process, and a whole bunch of great features with it. Or if you'd rather write the whole thing by yourself, use Catalyst.
If you want to go with a PHP CMS then I can only recommend Drupal.
http://drupal.org/
Cyclone3 CMS is very interesting, including GUI based on Firefox.
Going with Perl Catalyst will be good.
In PHP I would recommend using SilverStripe CMS:http://silverstripe.org/
Its powerful and easy to extend.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I know (PHP's) var_dump is supposed to be "human readable" and all, but analyzing large objects is just a pain in the neck. I am struggling to make sense of a few of the large objects that are being passed around in a script that we are running. (I know that using xdebug with and IDE is a good idea, but I have not been able to get xdebug to run on this project for some reason - several days lost, ugh).
Any ideas on how I can easily digest the contents of a really big var_dump? Any ideas are welcome... Although I am hoping that there is something similar to Thomas Frank's JSON tool (where you just put some code in and it gives a nice graphical representation).
I'd just use dBug.
You could take a look at FirePHP. It enables you to write information to the firebug-console. If you write an array or object to the log and hover with your mouse over it, you get a nice presentation of the contents of that array. Here is a screenshot of a simple example.
I made a var_dump alternative you should like:
http://raveren.github.io/kint/
Screenshot demonstrating content-aware features:
(source: github.io)
Interesting question. I'd make my own var_dump() equivalent based on some recursive function. With some parameters (such as nesting level, certain element name, etc) to pass it could be quite useful I think.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
The url shortening service I'm building needs to display some basic click stats to users: # of clicks, conversions, referring domains, and country (filterable by a date range). I'll possibly want more advanced stats in the future.
Is there existing open source software that will allow me to pass events to it and then easily display a bar or line graph of that event (for example, a line graph of "conversions" between two specified dates). It seems like something like this should exist and would be much easier then building the whole thing from scratch.
I know there are graphing scripts, but that still requires me to format the data (usually as an xml file) and then pass it to the graph. I'm looking for something a bit more complete, which I can just feed the events and then it does everything else.
There are a large number of packages that do what you want. The most popular ones are:
Cobub Razor (Redis supported for high performance)
Piwik
Open Web Analytics
TraceWatch
They all require a database connection (mostly MySQL) to collect and store the data, which can be a performance problem when your service becomes popular.
One of the simpler packages that is file-based is
BBClone
The features of file-based solutions are generally more limited.
Every kind of software I can image will need you to generate the data you want to plot.
At this point, you have two possibilities:
Use a third party solution for your stats (such as Google Analytics)
Use a library to show your data graphically
The first solution will be easy to use, but it won't be flexible.
The second one will be a bit harder (not too much), but you'll decide what to plot and how.
I've recently started an open source project to make the highcharts plotting easier from php. You might want to have a look to it.
AWStats is the best open source analytics/stats software I have used. Recently we have moved away AWStats and we are using Google Analytics, but that is because we are also using Google Adwords. AWStats is a great program.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
i am looking for a form of data storage that will answer a few requirements. i realize these requirements are non-standard, and for now i'm using activerecord and ORM solutions like everyone else, but this is my "holy grail" - if you know of anything like this, i would be eternally grateful:
pure PHP
multiple repositories, preferably file based for portability, where i can instantiate by telling it "use repository [X]" - i don't want to pre-create repository [X], if i reference it, it exists.
zero database configuration - i don't want to create tables or export SQL dumps, if it's referenced in my code, it needs to be in the database, auto-created without any fuss, my code is my schema
hierarchical, not relational, ideal structure would be just a freeform, schema-less XML, but since XML performs horribly with large trees, it can't simply be an XML file.
i have experimented with flat XML storage (with xpath and xquery) but it gags on a mid-sized repository, and cripples the application.
i have also experimented with key=>value pairs dropped into a SQLite database with a single generic table, but that gags even faster, and re-forming even the simplest record from key=>value pairs is a performance decimator.
finally, i experimented with lucene as implemented in the zend framework, which was pretty close to ideal, apart from the no-update part.
any ideas, anyone?
I've been having great fun with RedBean, it's not quite designed for flatfiles, but runs on PDO, so it should be relatively easy to write a sqlite module for it. Not sure if it will work for your needs, but definitely worth taking a look at.
Here are some links you may find useful:
txtSQL
Gladius DB
Also, have you considered using Berkeley DB?
Some of the DB extensions listed in the PHP Manual are intended to be used on flat-file like databases.
From your description it seems like PHP arrays should work perfectly:
pure PHP
multiple arrays, file or memory based
your code is your schema
hierarchical
You could use serialize() or var_export() functions to enable file storage.