TM2's Posts
Nairaland Forum › TM2's Profile › TM2's Posts
Sorry I did not answer the question about JavaScript Framework that may be used, In my personal projects if need be I may consider DOJO though, I know most people are JQuery fans. So because I dont want to force my personal interest on others I have decided not to use any Javascript Framework, because if I did, then where is the FREEDOM. I want people to be able to choose which library they want to use with it be; it for PHP or JS. Therefore all the JavaScript code that have been used thus far was written from the scratch, and the ones that will be used for the core framework in the future. Nevertheless, in some cases there will be no need to reinvent the wheel so it will be allowed that people who may want to consider writing widgets and plugging for the framework will be free to use any library that they like. But will the libraries such as JQuery, Dojo, YUI and Prototype be bundled with the framework in the future? I dont know - but I dont think so. Because they can be accessed online via various CDNs. Thanks, once again. |
Hi DHTML. It is nice you noticed that. It is a weired decision, but it is a choice that I was forced to make because according to YAHOO! YSlow it is strongly recommended that you keep the JavaScripts at the bottom of the page, so that it does not delay the page load. Kind of make sense as I somehow realized. http://developer.yahoo.com/performance/rules.html#js_bottom Meanwhile validity of XHTML may not be affected by this practice because the script tags are inside the HTML tag and you know that the root element of a valid XHTML document is required to be HTML. Thanks for dropping by. |
@nitation Thanks a lot. I wish that I have people who are willing to help out. I know that I need quality developers to help with the testing. Seriously. |
@nitation Thanks for taking time to test. Such security are deliberately relapsed, not overlooked. And the details of how to implement this necessary security are documented for various levels. The Demo Employee manager is just created for ppl to play around with and perhaps enforce necessary security when needed. Special characters and tags were stripped by default but at a point I decided that developers should define that as a preference, I will just go ahead and enforce it for the Demo Employee Manager and test. You may test again, too and let me know if it failed. Thank you for your time once again. |
Just to add that you can post your comments here directly, thanks. |
Hi all, Have been on break here for a while because I decided to re-engineer the structure of the framework, and also work on a skeletal documentation based on the new structure. I also noticed that some post are removed, I really dont know why, but it is not an issue, I have read the rules over and over again. For example, what is it that DHTML joined and where? It is the project group, though. The candidate release of the 2.0 version is online and I will be happy if you help test it at: http://www.phpfreedom.org/test Hopefully the code will be released soon. There is a lot more about 2.0 but with your help it may be better. Thank you. |
Hi. Let me introduce you to PHP Freedom Framework in case you are hearing about it for the first time. It is a Nigerian-Made Free and Open Source Rapid Application Development Framework released some months back, it is developed purposely for those who may not have advanced development experience and is willing to understand the background processes of advanced application systems. The framework does not use any other PHP libraries as the entire project code is developed from the scratch, Anyway, the work is just starting and we need you. A new version, 2.0 will be released soon and we wish you will join us in testing it directly online at http://www.phpfreedom.org/test You do not need any development experience to do this - Just do a few clicks around and tell us if you noticed any anomalies. Looking forward to your support. Thanks. |
Thanks, you are welcome! Counting on many more Nigerians like you. |
To see the result of what I demonstrated above click http://www.phpfreedom.org/?manager=page&page=firstpage&nav=25 But I set Page Template = [Select: VerticalBoxedImgPage] You can also, change the order of the Subsection Tabs by setting Sub Category Order = [An integer. The value determines the order of the subsection tabs.] Cheers. |
Thank you DHTML and thank you Segsalerty. All your contributions will be appreciated. I am currently working on the documentation which I hope you guys would help review and standardize. It's coming rather slowly, and I wish it was released with the framework, but with your support, we can still do a lot. If you have been able to install it on your machine and it is running properly, great! The next thing is creating pages using the content manager, and after creating display blocks first from the content. Meaning that you can display a particular content page on other pages and you can display multiple content pages on a page. First let us create a page, Login as the administrator Expand the Administrator link and click Content manager Click Add New to create a new content, there are a lot of fields on the content management form but you can ignore most of them for now and just fill the following category as follows: Title = My First Page Category = firstpage Subsections Title = Subsections of My First Page (Note: This is only necessary if the page has sections) FULL CONTENT DETAILS = Any thing that you like, You may attach some pictures by click --add attachments-- for as many picture that you may wish to add Save the content. On the administrator links, click --Manage Menu-- and --add new-- Fill the following: Title = First Page URL = ?manager=page&page=firstpage (Note: This means, the framework should load use the PageController and and render the page with category firstpage) Leave internal Url Selected For now, set the parent link to root, so that it is listed as a main page link Save the menu It will be available for use on the navigation, click it and see the page. Once this is done, you can change the template that the page is using from the content management. --administrator-- , --Content Manager-- and Click the Edit Link attached to the item with Category = FIRSTPAGE and Sub Category = FIRSTPAGE Set the following: Page Template = [Select a template and save, repeat this step for other templates] Let me briefly explain the templates, If you browsed the project directory and go to ./freedom/views. There resides all the view pages used and to be used for your project, you can create a folder for every manager/controller, Since the content manager will use so many templates, there is a page folder in the views, and it has 3 templates for version 1.02, it also has a folder named sections, which contains the templates for the subsections of a page generated from the content manager. For version 1.02, there are 6 templates. You can write your own templates, too, and put them in the appropriate places as described above and it will be available to be selected in the content manager, either at [Page Template ] or [Subsections Template] fields. To create subsections for a page: Go to --administrator-- , --Content Manager--, --add new-- and fill the form as follows: Title = First Section Of My First Page Pane Label = First Section Category = firstpage Sub Category = firstsection FULL CONTENT DETAILS =The first section of my first page, add other contents and attach pictures, Save the subsection, Create about three sections for the firstpage by repeating the steps above. Then go to --First Page-- on the main menu to view the changes. Now you may want to change the way the subsections are displayed. Go to --administrator-- , --Content Manager-- and Click the Edit Link attached to the item with Category = FIRSTPAGE and Sub Category = FIRSTPAGE And set the following to your preference: Subsections Template = [Select 'Page_Sections_Panes'] Sve the changes and view it. Cheers and let me know how it went, so we could go on to creating Page Blocks. |
NOTE: Post issues at http://code.google.com/p/phpfreedom/issues/list |
Thanks to everyone who cares about the future of the project and I am particularly happy to read your mails. I started writing the documentation today, without it we dont have a project and I want to ask you where I should focus on more, it shall feature the following: 1. Site Administration 2. Building Custom Managers 3. Using Display Blocks 4. Site Design and Themes You could see the preview at http://code.google.com/p/phpfreedom/wiki Thanks. |
Because the framework does not require a template engine, so php short tags are used on the views. To change the setting, Go to the php.ini of your server and change the following short_open_tag =On To locate your php.ini, do this: create a new file on your server, call it server_test.php type the following in it <?php echo phpinfo();?> and run it in your browser via http://localhost/server_test.php This show the php configuration on your server. Check for "Loaded Configuration File" that is where your php.ini is, you can then edit it. And set short_open_tag =On |
I intentionally did not include an installer, cos I want people to use the framework to learn as the use it. It might be included in future releases anyway. To start, first you need a MySql database, name it "newwebsite" or something. That's all. Go to ./freedom/includes/conf.ini and edit the setting as follows:
Make sure that the paths are correct the above settings assumes that you renamed the folder as "newwebsite" on your server. Really, it is very easy. |
Hi segsalerty, thank you. Just thought to say that the project needs you to grow, try and toy with it at your free hours and let us know your experiences, and in case of any challenges. And may I have an idea of what you were wondering about, it could be useful. Thank you, again. |
The was a post on Nairaland about a new AJAX application in Nigeria, Uniform Messenger, http://www.uniformmessenger.com the application is my pet AJAX Chat project and I described it "Unbelievable", several months after, I still think it is unbelievable. But there were a few controversial comments and the post was eventually removed by the moderator. People don't believe that we could deliver a world class AJAX app in Nigeria, but this is not true. Let us review AJAX sites in Nigeria and share our ideas and knowledge, here. To review Uniform Messenger, go to http://www.uniformmessenger.com Username: demouser@uniformmessenger.com Password: demouser123 You can as well create an account, and it is free, but there is a challenge with delivering mails to yahoo! mails, who can help? |
I have lost my posting privilege with softnsmart, guess I was posting too many comments that contain PHP Freedom Framework, which make my posts spam-like. I will be using T.M. for now till I am able to figure out the reasons. Even if you do not need the framework, just toy with it sometime, and help figure out issues that are yet to be identified. Thank you all for your mails, but your public comment are essential so that it could be more collective. |