473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

PHP and Poetry

18
Hi, I'm not gonna get your head into code. I want to know about the best practises and most efficient, as well as structurally flexible methods for a good website.

I have built some stuff on php earlier, but I always thought it lacked grace. It was more of slogging hours in front of the maschine rather than picking up on something intuitive. I tried asking in my local circle, but people seem to have vague idea of things - even those who working professionally suggested that I adopt a better methodology than theirs. I tried looking inside some php-based Open-Source Projects but that seemed some alien concept. I did not find much that I could identify with any of my previous projects. The code was split across several files which made understanding the flow of program an ugly affair.

First of all I feel panicky when communicating with several tables on the same page. Is that normal? Should I expect 80% of my code going into pulling stuff out of the databases itself? A database class can perhaps reduce my hassles, but it functions almost the same, doesnt it? And then there are joins across several tables. Should I try to create as many complex queries as possible?

Next comes the architecture of project. What do you recommend - making separate pages for each so that I can handle GET/POST variables in a sane fashion or do I create one file which relies on params eg index.php?x=aaa&y=bbb&z=ccc and does all the conversoins in there itself...And then there is a problem of carrying the POST/GET data forward across forms. Making reusable components seems tough. And even tougher seems the plugin architecture. I surely need a refresher course on that. Can you recommend me any online resources solely for this?

Is there any accepted way to implement a breadcrumb navigation? I spent some time over it today, and have found techniques, but they differ in the terms of efficiency rather than structure. Moreover, it is required that we feed them data at the start of our page, which I can better do by hand, then.

I'll pester you with only this much for now. Thanks for reading/replying to me.
Apr 25 '07 #1
0 949

Sign in to post your reply or Sign up for a free account.

Similar topics

47
by: Daniel Silva | last post by:
Shriram Krishnamurthi has just announced the following elsewhere; it might be of interest to c.l.s, c.l.f, and c.l.p: http://list.cs.brown.edu/pipermail/plt-scheme/2005-April/008382.html The...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
2
by: John Bokma | last post by:
using <pre class="poem"></pre>? or a <div class="poem"></div> in combination with <br> Which I use now, and think its ugly, I prefer the pre I think but I ask first :-D. I read somewhere,...
9
by: Nathan Sokalski | last post by:
I am trying to connect to a Microsoft Access Database from my ASP.NET Application. I use the following code to create my connection string: cmdSelect.Connection = New...
1
by: Nathan Sokalski | last post by:
When I run my application, which uses databinding in a DataList, I recieve the following error: Server Error in '/' Application. ...
5
by: BartlebyScrivener | last post by:
I'm working on a book of technology and computer programming humor. First, can anybody recommend any other such books? And second is there a repository of Python poetry, poems translated into...
1
by: dcm001 | last post by:
I live in Southern California.... Art and music are my hobbies. I would like to invite people of similar interest to see my Art work. http://mungiako.com/my_work.htm My email address is located at...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.