|
I guess it depends what type of embedded programming you are doing. But I would say I had a pretty positive impression of it. The framework was very comprehensive. It seemed like literally anything you could think of existed in qt. This included even standard objects. For instance there's qstrings, qmakefiles, qxml ect... . I would recommend if you use qt that you use the Qx or QTx version of things because everything in qt is designed to work together it seems like. In general the QT version will tend to be similar or simplified from the standard c/c++ library version of things.
We were doing linux programming for a custom linux based thin client OS and for some of the server software to control the thin clients so if you are doing an embedded linux application it should be a good choice.
|
|
|
|
|
First thank you for your good explanation about qt. but do you have any experience with qt on arm?
modified 28-Nov-11 0:20am.
|
|
|
|
|
No we were using Intel chips but there were plans to move to ARM. I wouldn't think that anything would be different though. QT is designed to be cross platform. Also I think Nokia did a lot of the development of QT for their cell phones and since most cell phones use ARM I'd be suprised if ARM wasn't thoroughly supported.
|
|
|
|
|
Along with the Nokia ownership involved, should be noted the framework is NOT free to be used commercially. Just something worth noting.
|
|
|
|
|
See my addition to the Nokia comment...
|
|
|
|
|
Qt is very versatile, one of the biggest positives is it's ability to go across multiple platforms. With that said, if it's a commercial application there may be fees to pay to Nokia, go to their website for pricing info (it's not published, you have to request it).
|
|
|
|
|
if you had an option to:
1. create a master page and then use to put the full content of the page...
or:
2. to have a coded page with table but use include to include the navigation menu, top header and footer?
which one you'll prefer and which one you'll recommend?
|
|
|
|
|
Hi,
The method will be chosen based on your design. But i always prefer to the second method.
Since if all the web pages are exactly not similar, and if you want to customize some pages, second method will be good..
|
|
|
|
|
I use includes with function calls.
file structure might look like...
/index.php
/main_inc.php
/template/header.php
/template/menu.php
/template/footer.php
index.php and most other pages would look like this...
<?php
include(main_inc.php);
footer($pg_name);
?>
main_inc.php. $pg_name is obtained automatically
<?php
session_start()
$pg_name = substr($_SERVER['SCRIPT_NAME'],strrpos($_SERVER['SCRIPT_NAME'],"/")+1);
include('/template/header.php');
include('/template/footer.php'
?>
The header file....
<?php
include('menu.php');
pg_init($pg_name);
pg_header(pg_name);
function pg_init($pg_name)
{
}
function pg_header($pg_name)
{
echo "<html>";
echo "<head>";
echo "<title>".$pg_title."</title>";
echo "<script>...</script>";
echo "<style>...</style>";
echo "</head>";
echo "<body>";
pg_menu($pg_name);
}
?>
The menu.pgp page
<?php
function pg_menu($pg_name)
{
}
?>
The footer.php page
<?php
function pg_footer($pg_name)
{
echo "</body>";
echo "</html>";
}
?>
This whole thing could be done without using function calls, but I like the parameter passing and with more thought I can add some security, input checking, page name validation, and more and more...
this is a fairly simple template but very flexible
Chris J
www.redash.org
|
|
|
|
|
Hi,
I want to know how can I fix the top panel on my web page just like the top panel of facebook and twitter (where the logo and menu options are)?
Thanks,
Jassim
|
|
|
|
|
The easiest way is to use position: fixed in your CSS.
|
|
|
|
|
Hi,
Please create a DIV with 100% width and height. Then inside this DIV create another DIV with 100% width and specified width. Then position this DIV by using margin-top, margin-bottom, etc... Hope this will help you..
|
|
|
|
|
Respected...
Hi.. IS there any website or any way that help for beginner to learn
Red hat. It will be best if infromation will be in Simple English (like Indian English)
Devdatta
|
|
|
|
|
What do you want to learn about Red Hat?
To begin with, I'd start playing with Fedora (based on the same code). They're a community supported project (versus Red Hat which is mostly commercial) which offers plenty of help, everything from forums to live chat support.
Fedora links:
Main Fedora Page[^]
Documentation[^]
Wiki[^]
Help Site[^]
|
|
|
|
|
Red Hat has a "Certified System System Administrator" certificate. The books for studying for the certificate are the best all around Unix/Linux books available.
Fedora Core 16 is now systemd for boot up, which has made most books obsolete.
Download Fedora Core, it is their cutting edge software for the Enterprise systems.
*-------------------------------------------------------------------*
terrorist cryptography DES cipher secret decode *NSA* CIA NRO Iran
FBI Rice Bush IRS pit Homeland Security 9/11 Afghanistan North Korea
Freedom U3O8 Pu-239 PBX HMX Russian missile anthrax nuclear smallpox
Iraq Oxymoron TIA <--- That should have gotten Carnivore's attention.
*-------------------------------------------------------------------*
|
|
|
|
|
Lensman2 wrote: Fedora Core
The "Core" part was dropped a long time ago. Just Fedora now.
|
|
|
|
|
Hi,
when you add a link in your Linkedin or facebook it will automatically determine the page title.. and when I say the title I don't mean the mata tag title but the real page title, that's what I have noticed.... so how can i do this using PHP?
Thanks,
Jassim
|
|
|
|
|
What do you mean? Something like this?
<?php
echo "
<head>
<title>Insert your title here</title>
</head>
";
?>
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
no.
try to login to your linkedin..
in your wall, click Attach a link and put any link there the you'll see linked has detected the web page title which is most of the times different than the tag title..
same if you go to facebook and type a link in your wall..
|
|
|
|
|
for example..
if you you check this URL:
http://x.co/bDHC[^]
The title in the tag is:
Android Hits 200 Million Activations - Mobility - Smartphones - Informationweek
but when I type it in linkedin it will automatically detect the title as:
Android Hits 200 Million Activations
which is the article's title..
I am now sure if <headline> meta tag has anything to do with it because the source of the page shows:
<meta name="headline" content="Android Hits 200 Million Activations" />
|
|
|
|
|
The usual approach would be to look for the first heading tag using preg_match.
You could also look for the <title> tag.
<meta> elements are usually only useful if you're looking at pages where you know that metadata has been added, and know the metadata profile that has been followed.
|
|
|
|
|
What these websites do is load the website on the server and parse the received html to extract information such as the title. The probably use cURL in combination with some PREG regex.
|
|
|
|
|
hi everybody,
I have a problem about php.Can u help me?
Now, i need to get something from another server in PHP.
<table cellpadding="2" cellspacing="12" border="0" align="center" width="600" style="font-family:'Trebuchet MS'; font-size:16px; font-weight:bold;">
<tr>
<td bgcolor="#FFFFFF" width="170" align="center">34 TYT 34</td>
<td width="100" bgcolor="#FFFFFF" align="center">805000 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">810000 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">3800 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">3900 TL</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" width="170" align="center">YARIM PLAKA</td>
<td width="100" bgcolor="#FFFFFF" align="center">402500 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">405000 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">1900 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">1950 TL</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" width="170" align="center">ÇEYREK PLAKA</td>
<td width="100" bgcolor="#FFFFFF" align="center">201250 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">202500 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">950 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">975 TL</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" width="170" align="center">1 BİJON</td>
<td width="100" bgcolor="#FFFFFF" align="center">50312.5 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">50625 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">237.5 TL</td>
<td width="100" bgcolor="#FFFFFF" align="center">243.75 TL</td>
</tr>
</table>
I want to add this data in my website as curl.Actually i don't know php very well.I guess we can use file_get_contents().But how we can use it for table html?
|
|
|
|
|
|